# First Install Extended Repository yum install epel-release # Then simply install mcrypt yum -y install php-mcrypt # Restart apache systemctl restart httpd
sudo apt-get install mcrypt php5-mcrypt sudo php5enmod mcrypt sudo service apache2 restart