A foreign business friend needs to re-install cPanel to purchase a server. cPanel, which was bought for dozens of dollars, does not support 5.2.17. The lowest version supports 5.3.27 and the highest version is 5.5. This is very annoying, find a solution on the official website, as shown in the following code: Install php5.2.17. 1. Prepare cpanel for php # cdvarcpaneleasyapachecustom
A foreign business friend needs to re-install cPanel to purchase a server. cPanel, which was bought for dozens of dollars, does not support 5.2.17. The lowest version supports 5.3.27 and the highest version is 5.5. This is very annoying, find a solution on the official website, as shown in the following code: Install php5.2.17. 1. Prepare cpanel for php # cd/var/cpanel/easy/apache/custom
A foreign business friend needs to re-install cPanel to purchase a server. cPanel, which was bought for dozens of dollars, does not support 5.2.17. The lowest version supports 5.3.27 and the highest version is 5.5. This is very annoying, find a solution on the official website, as shown in the following code: Install php5.2.17.
1. Prepare cpanel for php# Cd/var/cpanel/easy/apache/custom_opt_mod # wget http://docs.cpanel.net/twiki/pub/EasyApache/EasyApacheCustomModules/custom_opt_mod-PHP5217.tar.gz# tar-xzvf custom_opt_mod-PHP5217.tar.gz
2. reinstall it through easyApacheSearch for easyApache and view the image step by step.
EasyApache
CPanel install php5.2.17
CPanel install php5.2.17
CPanel install php5.2.17
CPanel install php5.2.17
Then proceed step by step as usual.
3 .? Php Extension ConfigurationBecause this is not the native installation of cPanel, there is no php extension option, it will be installed according to the default configuration parameters in the php compressed package. If you need to support additional options such as gd and ftp, perform the following operations:
#?cat /var/cpanel/easy/apache/rawopts/PHP-5.2.17--with-gd--enable-ftp
One line, it will be parsed into -- with-gd -- enable-ftp, and then integrated to the end of configure. Note: I have not actually tested the method for installing the module. Because the default installation meets the requirements of my friends, cPanel installation is slow, so I am not testing it.
Original article address: cPanel cannot install php5.2.7. Thank you for sharing it with me.