1. Prepare cpanel for PHP
# cd/var/cpanel/easy/apache/custom_opt_mods
# wget http://docs.cpanel.net/twiki/pub/EasyApache/ easyapachecustommodules/custom_opt_mod-php5217.tar.gz
# TAR-XZVF custom_opt_mod-php5217.tar.gz
2. Re-install by Easyapache
Search for Easyapache, and then look at the picture step-by-step.
Easyapache
cpanel Installation php5.2.17
cpanel Installation php5.2.17
cpanel Installation php5.2.17
cpanel Installation php5.2.17
And then, as usual, step down to complete.
3. PHP Extended Configuration
Since this is not a cpanel native installation, there is no extension option for PHP, which will be installed according to the default configuration parameters within the PHP compression package. If you need to support additional options, such as GD and FTP, follow these steps:
# cat/var/cpanel/easy/apache/rawopts/php-5.2.17
--with-gd
--enable-ftp
One line, it resolves into –with-gd–enable-ftp, and then integrates back into the Configure.
Note: The method of installing the module I did not actually test, because the default installation and meet the requirements of friends, cpanel installation speed is very slow, so I am not testing.