HostOnNet Blog

Installing php-mcrypt in CentOS 6

After installing phpmyadmin on CentOS 6 64 bit server, phpmyadmin displays warning

The mcrypt extension is missing. Please check your PHP configuration.

php-mcrypt is not availble in CentOS repo. To install it, you need to install EPEL repo.

[root@lin phpmyadmin]# rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
warning: /var/tmp/rpm-tmp.K84Lrw: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing...                ########################################### [100%]
   1:epel-release           ########################################### [100%]
[root@lin phpmyadmin]#

Now install php-mcrypt with yum

yum install php-mcrypt

Posted in CentOS