Upgrading to PHP 5.3 on CentOS 5.x

I ran into a dependency issue trying to upgrade a particular PHP application to the latest version. Geeklog 1.8.0 requires PHP 5.2 or higher.

The default PHP packages in Centos 5.x are apparently based on the older PHP 5.1 branch. To upgrade php, just remove php and install the specific PHP 5.3 packages:

yum remove php-common

yum install php53-common

and any additional php packages needed such as php53-mysql, php53-pdo, ...