Blog | Technical

Installing other versions of PHP on centos 6

Just a record for me to see how to upgrade to PHP5.5 on Centos 6

https://www.virtualmin.com/documentation/web/multiplephp

Installing PHP 5.5 on CentOS 6

Install the SCL Utils:

yum install scl-utils

Install repository package

rpm -Uvh https://www.softwarecollections.org/repos/rhscl/php55/epel-6-x86_64/noarch/rhscl-php55-epel-6-x86_64-1-2.noarch.rpm

Install the PHP packages

yum install php55 php55-php-mysqlnd

Lastly, see the information on configuring the second PHP version below.