I finally upgraded successfully the PHP installation to 5.2 following the recommendation in Fresh Blurbs.
By default, the Yum repositories used by CentOS 5.2 do not have newer versions of PHP than 5.1. Of course if you are running up-to-date applications such as phpMyAdmin 3+, or Drupal, you will need PHP 5.2
