Choosing which main PHP version to build

Though it is possible to enable both PHP 4 and PHP 5, Cpanel 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.

Pls Note: PHP 4 is no longer supported by its developers. WCpanel strongly recommend you use PHP 5.

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.