Skip to content

Instantly share code, notes, and snippets.

@ifnull
Created June 9, 2014 05:17
Show Gist options
  • Save ifnull/2cbd1963d36d12df848f to your computer and use it in GitHub Desktop.
Save ifnull/2cbd1963d36d12df848f to your computer and use it in GitHub Desktop.
Install Mcrypt
yum --disableplugin=fastestmirror install php-devel libmcrypt-devel gcc
cd /tmp
wget http://museum.php.net/php5/php-5.3.3.tar.gz
tar xf php-5.3.3.tar.gz
cd php-5.3.3/ext/mcrypt/
phpize
aclocal
./configure
make
make install

Remove extension=mcrypt.dll

vi /etc/php.ini

Restart Apache

service httpd restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment