Install PHP 5.3 mcrypt extension on Centos 5.6

yum install php53-devel
yum install libmcrypt-devel
yum install gcc
wget http://museum.php.net/php5/php-5.3.3.tar.bz2
tar xvjf php-5.3.3.tar.bz2
cd php-5.3.3/ext/mcrypt/
phpize
aclocal
./configure
make
make install
echo "extension=mcrypt.so" > /etc/php.d/mcrypt.ini
service httpd restart

If the above code doesn’t work try the below code

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

Posted on May 7, 2012, in Centos, Mcrypt and tagged , , , . Bookmark the permalink. 4 Comments.

  1. Mohamed Ragab Dahab

    you have saved my life :)

  2. Oh my goodness! Amazing article dude! Many thanks, However I am experiencing issues with your RSS.
    I don’t understand the reason why I cannot subscribe to it. Is there anyone else getting identical RSS issues? Anyone that knows the solution can you kindly respond? Thanx!!

  3. Hello i am reading this blog for some time. I just want to say that i am satisfied by quality of information provided by the author.

  4. I do consider all the concepts you’ve introduced on your post. They’re really convincing and can definitely work. Nonetheless, the posts are too brief for novices. Could you please extend them a bit from next time? Thanks for the post.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 268 other followers

%d bloggers like this: