Ripnethosting

Instalar mcrypt en centos 6.7

yum install php-mcrypt –enablerepo=centosplus

Edit the mcrypt.ini

sudo nano /etc/php.d/mcrypt.ini
add this

extension=/usr/lib64/php/modules/mcrypt.so
Finally 4) Restart your webserver:

sudo service httpd restart