Author:
erics, August 22nd, 2011
|
# service httpd stop # yum erase php-common php # yum install php53* # service httpd start |
To get mcrypt installed, read this post: http://www.ericmichaelstone.com/?p=4702
Categories: How-To's, Technology Tags: CentOS, Erase, howto, Install, mcrypt, php, PHP53, tips, upgrade, Yum
| No comments
Author:
erics, August 12th, 2011
To get mcrypt support for PHP 5.3, compile and install just the mcrypt extension. First, get the prerequisites:
|
yum install php53-devel libmcrypt-devel gcc gcc-c++ |
Download the php source code from php.net, for example:
|
wget http://mx2.php.net/get/php-5.3.6.tar.bz2/from/us3.php.net/mirror tar xvjf php-5.3.6.tar.bz2 |
Now, cd to the proper place and follow these steps:
|
cd php-5.3.6/ext/mcrypt/ phpize aclocal ./configure make make install |
Create the configuration file for MCrypt /etc/php.d/mcrypt.ini containing:
Restart apache:
Create a file […]
Categories: How-To's, Technology Tags: compile, gcc, howto, Install, libmcrypt, mcrypt, mcrypt.ini, mcrypt.so, php, PHP53, phpmyadmin, tips
| 2 comments