I wanted to try WordPress 3.2 beta but realized that it requires at least PHP 5.2 and I’m still with 5.1.6 (the one that comes with CentOS). Here’s what I got from the interwebs.
Step 1: Get webtatic PHP 5.3 Repository
rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
Step 2: Update PHP
yum --enablerepo=webtatic update php
Step 3: Verify PHP version
php -v
Expected result should be like below
PHP 5.3.6 (cli) (built: Mar 19 2011 08:30:07)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
*** NOTE ***
Though webstatic stated that the repository is created for CentOS 64bit, it still worked for my 32-bit installation.
Source:
http://www.webtatic.com/packages/php53/
Incoming search terms:
- webtatic php 5 3
- centos 5 7 php 5 3 repo
- php53 centos webstatic
- repo webstatic
- repository php 5 3 9 on centos 6
- update php 5 1 to 5 3 centos 64bit
- update php 5 3 webstatis
- update php to 5 3 centos 64 bit
- upgrade php 5 3 centos64
- use webstatic php webtatic

Recent Comments