Daily Archives: May 3, 2016

Install multiple versions of PHP on Linux

You can install all versions of php either from source or install the default version using yum installer. My server has php5.3 already installed and I am going to install PHP5.6 from source. Prerequisites Create required folders mkdir -p /usr/local/php56 mkdir -p /etc/php56 mkdir -p /etc/php56/php.d Download php5.6 wget http://de1.php.net/distributions/php-5.6.19.tar.gz Compile php ./configure –prefix=/usr/local/php56 –with-config-file-path=/etc/php56 …

Read more