Trying to install mcrypt extension

Adjumemi

New Member
I'm trying to install mcrypt extension so i typed: yum install php-mcrypt but it says No package php-mcrypt available.
How can I fix this? I am using centos 5.6 yum -y --enablerepo=webtatic install php-mbstring php-mcrypt
or
yum -y install php-mbstring php-mcrypt I tried both commands and both say: No package php-mbstring available.
No package php-mcrypt available. Search for the exact mcrypt package:

Quote: yum search mcrypt You can then install the appropriate package as per your servers arch. Download the following two packages from EPEL repo.
Quote: http://download.fedora.redhat.com/pub/epel/5/i386/libmcrypt-2.5.7-5.el5.i386.rpm
http://download.fedora.redhat.com/pub/epel/5/i386/php-mcrypt-5.1.6-5.el5.i386.rpm Then install them-
Code: rpm -ivh libmcrypt-2.5.7-5.el5.i386.rpmrpm -ivh php-mcrypt-5.1.6-5.el5.i386.rpm If you have cpanel, you can do this via Easy Apache.
 
Top