Skip to Content

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


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

yum install php-mcrypt

Centos 6.x


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

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