Upgrading to PHP 5.2.3 on RHEL and CentOS
June 1, 2007 by Jason · 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.
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
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
Here's a tutorial for building missing packages: http://www.exteon.ro/en/articles/php/compile-extensions
There is a great tutorial on installing sqlite, sqlite3 and mcrypt on Centos here: http://www.exteon.ro/en/articles/php/compile-extensions
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?
Pretty! This has been a really wonderful article. Thank you for providing this
info.