How to install the php mcrypt module on RHEL 6

by tyler in php, webdev | 1 min
1

Download the following rpm packages

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/php-mcrypt-5.3.3-1.el6.x86_64.rpm wget http://dl.fedoraproject.org/pub/epel/6/x86_64/libmcrypt-2.5.8-9.el6.x86_64.rpm

2

Install mcrypt via yum

yum localinstall php-mcrypt-5.3.3-1.el6.x86_64.rpm libmcrypt-2.5.8-9.el6.x86_64.rpm

3

Restart apache

/etc/init.d/httpd restart

4

Confirm that it installed properly

php -m** should show in the list: mcrypt*

Leave a Reply

Your email address will not be published. Required fields are marked *