Solve the problem that cPanel cannot install php5.2.17 _ PHP

Source: Internet
Author: User
Tags cpanel
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 easyApache

Search 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 configuration

Because 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/rawops/PHP-5.2.17
-- With-gd
-- Enable-ftp
One line, it will be parsed to-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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.