Monday, February 8, 2010

MCRYPT module for PHP (RHEL5)

RHEL5.3 did not have support for the MCRYPT module that many PHP applications use to create basic security. Well, anyone could download mcrypt from sourceforge and recompile PHP to support this module. I found another way which I hope also will work for you;

Step 1: Login as admin and install MCRYPT
yum install mcrypt

Step 2: Install epel
http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
rpm -Uvh epel-release*.rpm

Step 3: Install the module
yum install php-mcrypt.i386

Step 4: Restart Apache
service httpd restart

Confirmation of the installed module can be found from the phpinfo() page. The module I had included cipher for
cast-128
gost
rijndael-128
twofish
arcfour
cast-256
loki97
rijndael-192
saferplus
wake
blowfish-compat
des
rijndael-256
serpent
xtea
blowfish
enigma
rc2
tripledes

1 comment:

Anonymous said...
This comment has been removed by a blog administrator.

Blog Archive