Choosing Which PHP Version to Build
Choosing which main PHP version to build
Though it is possible to enable both PHP 4 and PHP 5, we recommend only enabling one version of PHP. This is because when only one version is installed, the binaries are configured in such a way to mirror EasyApache's installation, simplifying configuration and management.
- A CGI binary is installed in /usr/bin/php.
- A CLI binary is installed in /usr/local/bin/php.
When both PHP 4 and PHP 5 are enabled, PHP 5 is installed in the standard locations, listed above, while:
- A CGI binary for PHP 4 is installed in /usr/php4/bin/php.
- A CLI binary for PHP 4 is installed in /usr/local/php4/bin/php.
Note: PHP 4 is no longer supported by its developers. We strongly recommend you use PHP 5.
Choosing a specific PHP version to build
Here, you are able to select from the 4 most recent releases of PHP. We recommend that you select the newest release. However, older versions are available for administrators who:
- Use scripts that depend on features from a specific release.
- Have systems that do not compile the newest version properly.
- Are concerned that the most recent release has not been tested sufficiently.
cPanel does not back-port security fixes from the most recent version of PHP to older versions. To find if more recent PHP releases address certain security vulnerabilities, you should visit the PHP change log here:
PHP 5 and
PHP 4.
Note: PHP 4 is no longer supported by its developers. We strongly recommend you use PHP 5.
Topic revision: r10 - 26 Nov 2012 - 23:04:18 - Main.LaurenceSimon
EasyApache3.ChoosingPHP moved from Sandbox.ChoosingPHP on 08 Jun 2009 - 14:43 by Main.JustinSchaefer -
put it back