How to install php5.2 in ubuntu10.04 or earlier versions

Source: Internet
Author: User
The method for installing php5.2 in ubuntu10.04 and later versions is indeed php5.3. if you need to install php5.2, you can use the script in the attachment to automatically install php5.2. Installation steps: 1. download and unzip the file to/usr/local/sbin/2. install php5.2 in sudochmod + x/usr/local/ubuntu 10.04 or later.

Php5.3 is installed in ubuntu 10.04 and later versions. to install php5.2, you can use the script in the attachment to automatically install php5.3.


Installation steps:


1. download and decompress the file to/usr/local/sbin/

2. sudo chmod + x/usr/local/sbin/php5_2-downgrade

3. sudo/usr/local/sbin/php5_2-downgrade

?

?

To install mysql in php, run the following command:


Sudo apt-get install php5-mysql

Sunfjun 2011-11-17 on the first floor. check this if an error occurs.

Http://aziest.wordpress.com/2011/01/24/how-to-increase-your-apt-cache-limit/

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.