Tambahkan repositori berikut pada file konfigurasi repo /etc/yum.repos.d/CentOS-Base.repo

[centos-dev]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
includepkgs=php*

Update PHP dengan perintah berikut

sudo yum update "*php"