Home >Backend Development >PHP Tutorial >Solve the problem that cPanel cannot install php5.2.17_PHP tutorial
1. Prepare cpanel exclusively 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. Reinstall through easyApache
Search easyApache and see the pictures step by step.
easyApache
Solve the problem that Solve the problem that Solve the problem that Solve the problem that Solve the problem that cPanel cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial installs php5.2.17
Solve the problem that Solve the problem that Solve the problem that Solve the problem that Solve the problem that cPanel cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial installs php5.2.17
Solve the problem that Solve the problem that Solve the problem that Solve the problem that Solve the problem that cPanel cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial installs php5.2.17
Solve the problem that Solve the problem that Solve the problem that Solve the problem that Solve the problem that cPanel cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial installs php5.2.17
Then follow the steps below to complete as usual.
3. php extension configuration
Because this is not a native Solve the problem that Solve the problem that Solve the problem that Solve the problem that Solve the problem that cPanel cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial installation, 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, do the following:
# cat /var/cpanel/easy/apache/rawopts/PHP-5.2.17
--with-gd
--enable-ftp
One per line, it will be parsed into –with-gd –enable-ftp, and then integrated into configure.
Note: I have not actually tested the method of installing the module, because it is installed by default and meets the requirements of friends. The Solve the problem that Solve the problem that Solve the problem that Solve the problem that Solve the problem that cPanel cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial cannot install php5.2.17_PHP tutorial installation speed is very slow, so I will not test it.