How to Upgrade PHP version 5.4 to 5.5 on CentOS/RHEL 5/6/7
Submitted by webadmin on Tue, 02/09/2016 - 17:38# php -v
For CentOS/RHEL 7:
# rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm
# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
For CentOS/RHEL 6:
# rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
For CentOS/RHEL 5:
# rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm
# yum remove php-common