PHP4Although I was initially struggeling, I finally managed to build a PHP4 RPM for CentOS 5 :)

Initially I planned to make tutorial on how I managed to build my RPM (which you can still use), however due to some issues with the original PHP 4.3.9 RPM for CentOS 4 I decided to create a RPM of PHP 4.4.7 (and upgrade to 4.4.8 later).

A few challenges later I managed to cleanly build PHP4 including passing all the needed tests.

UPDATE: See this new post for a slightly new version and eAccelerator RPM’s.

I’m not going to explain all the challenges I had to overcome to get the RPM’s to build, in stead you can just grab the SRPM yourself and build the RPM’s. I will supply the fully build RPM’s soon.

Changelog since 4.3.9-3.22.9.el4

Changelog

The SRPM builds a php4 CLI and CGI binary which you can use, I use ‘php4′ everywhere so it should run fine with PHP5 alongside.

Building the RPM’s

RPMYou can build with the SRPM yourself, using the instructions I mentioned in my previous post. Basically you only have to do the following (if your BUILD environement is in order!).


Download php4-4.4.8-LAB3.src.rpm

Bugs? Remarks? Feel free to leave a comment!

Ivo

Share and Enjoy:
  • Digg
  • del.icio.us
  • Furl
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati