1. Install “yum-priorities”:
2. Surf Available Repositories for CentOS$ yuminstallyum-priorities
or just copy content of http://dev.centos.org/centos/5/CentOS-Testing.repo and paste /etc/yum.conf.
3. Install PHP with enabling “c5-testing” repository:
$ yum --enablerepo=c5-testing install php











