09-25-2015, 02:45 AM
Run these commands as root
Cent OS 5
Cent OS 6
Cent OS 7
Run php -V to check current version.
Latest PHP versions are faster than old versions.
Cent OS 5
Code: (Select All)
rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm
yum install yum-plugin-replace -y -y
yum replace php-common --replace-with=php56w-common -y
yum install php56w php56w-opcache -y
Cent OS 6
Code: (Select All)
rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
yum install yum-plugin-replace -y -y
yum replace php-common --replace-with=php56w-common -y
yum install php56w php56w-opcache -y
Code: (Select All)
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh http://mirror.webtatic.com/yum/el7/latest.rpm
yum install yum-plugin-replace -y -y
yum replace php-common --replace-with=php56w-common -y
yum install php56w php56w-opcache -y
Latest PHP versions are faster than old versions.