Centos 5.4 Updated PHP 5.2.13 x86_64 rpm's


For those who need an updated PHP version on their Centos 5.4 x86_64 machines, I have compiled them and put them here for you to download.

I compiled these because Centos 5.3 which has PHP 5.1.6 does not work with open_basedir restrictions and symlinks. Version 5.2.13 does.

These packages run on some of the production machines I manage and work fine. But this is no guarantee these will work for you.
I have taken the standard Centos 5.3 php rpm files (php-5.1.6-23.2.el5_3.src.rpm and php-extras-5.1.6-15.el5.centos.1.src.rpm) and installed them. After that I updated the php version to 5.2.13 in the php.spec and php-extras.spec and removed all patches which did not apply cleanly.

You can use the src.rpm's to compile for an i386 machine.
These rpm's are not tested on Redhat Enterprise Linux but they might just work.

Here is the list of rpm's:

php-5.2.13-1.x86_64.rpm
php-bcmath-5.2.13-1.x86_64.rpm
php-cli-5.2.13-1.x86_64.rpm
php-common-5.2.13-1.x86_64.rpm
php-dba-5.2.13-1.x86_64.rpm
php-devel-5.2.13-1.x86_64.rpm
php-eaccelerator-5.2.13_0.9.5.3-1.x86_64.rpm
php-gd-5.2.13-1.x86_64.rpm
php-imap-5.2.13-1.x86_64.rpm
php-ldap-5.2.13-1.x86_64.rpm
php-mbstring-5.2.13-1.x86_64.rpm
php-mcrypt-5.2.13-1.x86_64.rpm
php-mhash-5.2.13-1.x86_64.rpm
php-mssql-5.2.13-1.x86_64.rpm
php-mysql-5.2.13-1.x86_64.rpm
php-ncurses-5.2.13-1.x86_64.rpm
php-odbc-5.2.13-1.x86_64.rpm
php-pdo-5.2.13-1.x86_64.rpm
php-pgsql-5.2.13-1.x86_64.rpm
php-readline-5.2.13-1.x86_64.rpm
php-snmp-5.2.13-1.x86_64.rpm
php-soap-5.2.13-1.x86_64.rpm
php-tidy-5.2.13-1.x86_64.rpm
php-xml-5.2.13-1.x86_64.rpm
php-xmlrpc-5.2.13-1.x86_64.rpm

If you want to recompile yourself:

php-5.2.13-1.src.rpm
php-eaccelerator-5.2.13_0.9.5.3-1.src.rpm
php-extras-5.2.13-1.src.rpm

PHP Centos/Redhat RPM and SRPM archive: php-5.2.10 php-5.2.13 php-5.2.9

Want to drop me a line? email me. I always read your email, and if you are the lucky one, I will send a reply.

Kind regards, DiNo