How to install the php mcrypt module on RHEL 6

  • by Tyler (248)
  • Time to complete: 1 minute

This guide will show you how to install the PHP mycrypt module on RHEL 6.

1

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

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

/etc/init.d/httpd restart
4

php -m**

Should show in the list:

mcrypt