How to install the php mcrypt module on RHEL 6

Tyler Tyler (291)
1 minute

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

RHEL 6×1

Howchoo is reader-supported. When you buy through links on our site, we may earn a small affiliate commission at no cost to you.

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
yum localinstall php-mcrypt-5.3.3-1.el6.x86_64.rpm libmcrypt-2.5.8-9.el6.x86_64.rpm
/etc/init.d/httpd restart
php -m**

Should show in the list:

mcrypt
Tyler Tyler (291)
0

In this guide I'm going to describe how to get started with PHP and MySQL.