cPanel 11.42默认已经不支持PHP 5.2了,如果非得继续使用PHP 5.2的话,可以按照下面方法来:
#cd /var/cpanel/easy/apache/custom_opt_mods/
# wget http://docs.cpanel.net/twiki/pub/EasyApache/EasyApacheCustomModules/custom_opt_mod-PHP5217.tar.gz
# tar -C /var/cpanel/easy/apache/custom_opt_mods -xzf custom_opt_mod-PHP5217.tar.gz
之后在EasyApache (Apache Update)中的第三步PHP Version选择None,然后第四步Short Options List选择PHP 5.2.17 support (no FastCGI)之后点击Save and Build编译即可。编译完成之后,PHP就成为5.2.17了.