I have been trying to install php-mcrypt for a while now. Everytime I get the \"No package php-mcrypt available.\" returned to me. Here\'s what I\'ve tried:
For php 7 to install mcrypt run:
Centos: sudo yum install php7.0-mcrypt to install
On Ubuntu: sudo apt-get install php7.0-mcrypt