cpanel Installation php5.2.7 Illustrated tutorial

Source: Internet
Author: User
Tags ftp cpanel

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.

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.