How to install the php mcrypt module on RHEL 6
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
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
Restart apache
/etc/init.d/httpd restart
Confirm that it installed properly
php -m** should show in the list:
mcrypt*