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.
    Related Articles RSS Feed
    usernames already exists
    Viewed 710 times since Fri, Mar 15, 2019
    An error occurred. Please contact administrator.Connection to server.hostname closed.
    Viewed 2318 times since Wed, Jun 14, 2017
    How to search using IP or other fields instead of host name in jump server ssh interface or gui?
    Viewed 1918 times since Fri, May 4, 2018
    unable to start mysql in ubuntu 14 " logger command not found"
    Viewed 3112 times since Thu, Jun 15, 2017
    Jump server ip to be licensed?
    Viewed 2814 times since Thu, Jun 15, 2017
    ssh session slow and not responsive
    Viewed 2667 times since Thu, Jun 15, 2017
    no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
    Viewed 6010 times since Tue, Jan 2, 2018
    ERROR for site owner: Invalid domain for site key
    Viewed 6178 times since Thu, Jun 28, 2018
    Disable two factor authentication (2FA Google, Yubikey , Access Keyword, DUO)
    Viewed 11756 times since Thu, Jun 15, 2017
    Setting session time out for the webinterface
    Viewed 3421 times since Wed, Jun 14, 2017