Install Multiple php versions

PHP being the dominant language on the Internet, Many cpanel customers used multiple versions of PHP 5.2, 5.3, 5.4 and 5.5 for their customer php application. In Cpanel, CloudLinux Multiple cPanel versions plugin providing option to select among a large number of PHP extensions. Quite often one user needs one extension while the other customer needs another.

When using different software, you may need to use an older version of PHP while running a newer version of PHP on a different domain. For example: You can have PHP 5.4 for the site in public_html and if you want to use PHP 5.3 in a subdirectory then install manually multiple php version and update add handler in .htaccess file.

Manually install multiple php version in cpanel.

Use the following Steps to install multiple php versions.

#cd /usr/local/src

Download php tar file which version you want to install.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

cPHulk Brute Force Protection

WHM/cPanel has a service, protected from Brute Force attack, which is called “cPHulk Brute Force...

Enable SSH key authorized login without root password

You need to generate SSH Key ( the private key )on your cpanel server and then update remote...

How can I Redirect URLs in cPanel

Login your cpanel 1. Click the Redirects button on the front page under the “domains” 2. Enter...

Enable Custom php.ini for Fast CGI

With fast-cgi, custom php.ini needs to be in the cgi-bin folder. 1) Move php.ini to cgi-bin...

ConfigServer Firewall CSF installation

ConfigServer firewall is a popular linux firewall security suite. It is easy to install, flexible...

Powered by WHMCompleteSolution