Upgrading to PHP 5.2.3 on RHEL and CentOS

June 1, 2007 by · 56 Comments 

PHP 5.2.3 has been released. This version does not have the massive number of bug fixes that came with 5.2.2 (which included many of the patches from the Month of PHP Bugs), but it does have some useful fixes included, including the fix for the HTTP_RAW_POST_DATA bug that was introduced in PHP 5.2.2.

This build was relatively straight forward and didn't require any modifications to the spec file from my build of 5.2.2. I'll probably do a respin when MySQL 5.0.42 is finally marked as "released" (the source package is already available but the changelog hasn't been updated with an official release date).

For those that like to build from source, feel free to use the Source RPM from the link below. For my repository users, the new version is already available and all you'll need to do is run a "yum update".

UPDATE (6/19/2007): The PHP 5.2.3 packages have been updated. The Source RPM link below has also been updated to prevent anyone from downloading an out-of-date file.

PHP 5.2.3 Release Notes / Changelog

Update (9/24/2009): Packages deleted, use the yum repository instead.

Comments

56 Responses to “Upgrading to PHP 5.2.3 on RHEL and CentOS”
  1. scoff says:

    http://www.atomicorp.com/wiki/index.php/PHP

    upgrading php to 5.2 on centos 5 (with plesk installed)
    the most seamless way to the moment

  2. Fauzi says:

    Hi Jason,

    I also am getting error messages like:

    Error: Missing Dependency: httpd-mmn = 20020903 is needed by package mod_auth_mysql

    would you consider add that dependency

    Thanks anyway your repository save my a lot of work

  3. Dinu says:

    Here's a tutorial for building missing packages: http://www.exteon.ro/en/articles/php/compile-extensions

  4. webzenguy says:

    There is a great tutorial on installing sqlite, sqlite3 and mcrypt on Centos here: http://www.exteon.ro/en/articles/php/compile-extensions

  5. laser says:

    I am having some trouble with getting 'include' working. I have a new dedicated server running Apache 2.0.63 and PHP 5.2.6. Local includes on the same domain are running ok, but remote includes are throwing a problem. On the many sites we plan to host on this servber we use a central 'webmaster' page called as an include from a specific site (also on the same server).

    I need to edit the PHP.ini and /or recompile the PHP with the appropriate modules to do one of the following...

    1 (ideally) - allow includes from any site that is held on this dedicated server

    2. allow includes from specified websites

    3. simply allow remote includes

    right settings to get one of these

    options running and solve my problem?

  6. dort says:

    Pretty! This has been a really wonderful article. Thank you for providing this
    info.

This site is no longer updated. If you have a need for RHEL/CentOS LAMP Stack updates outside the normal channels, I recommend ART. https://updates.atomicorp.com/channels/