PHP extension ’mcrypt’ is required.

How to install php-mcrypt on Centos 64 bit ezeelogin ssh gateway server 'PHP extension 'mcrypt' is required.'


Centos 5.x

wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

rpm -ivh epel-release-5-4.noarch.rpm

yum install php-mcrypt


Centos 6.x

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

rpm -ivh epel-release-6-8.noarch.rpm

yum install php-mcrypt


Centos 7.x


Install EPEL & php-mcrypt

yum -y install epel-release

yum -y install php-mcrypt

Do this if above does not work in Centos 7.x

curl -o /tmp/epel-release-x.noarch.rpm http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

rpm -Uvh /tmp/epel-release-x.noarch.rpm

yum -y update; yum -y install php-mcrypt*; service httpd restart

 

Ubuntu 14.x

apt-get install php5-mcrypt ; php5enmod mcrypt

 

Ubuntu 16.x 

apt-get install php7-mcrypt

 



0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.