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


0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    F1 - F4 keys not working in ezsh when using PuTTY
    Viewed 16452 times since Wed, Jun 14, 2017
    How to reset Ezeelogin admin user password or security code
    Viewed 3432 times since Thu, Jun 15, 2017
    Configuration and error log files to check for troubleshooting
    Viewed 3787 times since Thu, Jun 15, 2017
    sshd[902]: debug1:PAM: password authentication failed for an illegal user: Authentication failure
    Viewed 3807 times since Thu, Feb 1, 2018
    How to search using IP or other fields instead of host name in jump server ssh interface or gui?
    Viewed 1139 times since Fri, May 4, 2018
    Could not setup Ezeelogin Web SSH service in ssh jumphost
    Viewed 825 times since Fri, Feb 16, 2018
    Jump server ip to be licensed?
    Viewed 2138 times since Thu, Jun 15, 2017
    ’Failed to establish SSH session ’
    Viewed 1419 times since Fri, Jun 22, 2018
    How do i disable google 2 factor authentication or other 2factor mechanisms?
    Viewed 3524 times since Wed, Jun 14, 2017
    vi editor not working , insert and delete not working in ssh
    Viewed 2040 times since Wed, Jun 14, 2017