[CentOS] Centos 5.6 Implications of PGP53 ?

Ryan Wagoner rswagoner at gmail.com
Sun Sep 4 13:35:42 UTC 2011


On Sat, Sep 3, 2011 at 8:15 PM, Always Learning <centos at u61.u22.net> wrote:
>
> If one stays with Centos 5.x (currently on 5.6) is the
> problem/enhancement/incompatibility involving PHP53 likely to be
> resolved by general updates and/or the introduction of Centos 5.7 ?
>
> Paul.

You can download the source package and compile the module. This
doesn't require as many many devel dependencies on a production system
as it would to rebuild the php rpm. You will need to repeat this for
php upgrades. The only unpackaged files installed on your system
besides the files in /usr/src/redhat, which can be deleted, are
mcrypt.so and mcrypt.ini.

yum install php53-devel libmcrypt-devel
cd
wget http://mirror.centos.org/centos/5.6/updates/SRPMS/php53-5.3.3-1.el5_6.1.src.rpm
mkdir /usr/src/redhat
rpm -i php53-5.3.3-1.el5_6.1.src.rpm
cd /usr/src/redhat
bunzip2 php-5.3.3.tar.bz2
tar xf php-5.3.3.tar
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

Ryan



More information about the CentOS mailing list