Easy Apache 3 & PHP

Choose Which Main PHP To Build

← Go Back

On this screen you have the option of enabling PHP 4 and PHP 5. cPanel recommends that only one version of PHP is selected so that configuration and management is simplified. When only one version of PHP is installed, the binaries are set up in a way that mirrors EA1's installation: a CGI binary is installed to /usr/bin/php and a CLI binary is installed to /usr/local/bin/php.

When both PHP4 and PHP5 are enabled, PHP5 will be installed to the standard locations /usr/bin/php and /usr/local/bin/php. PHP4 will be installed in /usr/php4/bin/php and /usr/local/php4/bin/php. There are many other considerations when installing two versions of PHP that will be addressed below.