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
    ubuntu xterm termimal issue Error opening terminal:xterm . Unable to login into ezeelogin shell
    Viewed 4546 times since Mon, Jul 24, 2017
    NODE_RDP_PROTOCOL_X224_NEG_FAILURE()
    Viewed 2481 times since Fri, Feb 2, 2018
    error: User modify failed Cannot modify user on this node: OS=FreeBSD: Command not found. OS: Undefined
    Viewed 1804 times since Wed, Jun 14, 2017
    You don’t have permission to access /ezlogin/index.php/auth/login on this server
    Viewed 1491 times since Fri, Aug 10, 2018
    Unable to login into cpanel/whm with one click
    Viewed 4125 times since Wed, Jun 14, 2017
    Unable to connect to your database server using the provided settings.
    Viewed 6952 times since Thu, Jun 15, 2017
    vi editor not working , insert and delete not working in ssh
    Viewed 2418 times since Wed, Jun 14, 2017
    Unable to open ssh session
    Viewed 2290 times since Thu, Jun 15, 2017
    web interface very slow to load
    Viewed 626 times since Wed, Sep 19, 2018
    no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
    Viewed 4406 times since Tue, Jan 2, 2018