Home >Backend Development >PHP Tutorial > ubuntu 10.04以下版本安装php5.2的方法

ubuntu 10.04以下版本安装php5.2的方法

WBOY
WBOYOriginal
2016-06-13 13:06:04896browse

ubuntu 10.04以上版本安装php5.2的方法

ubuntu 10.04以上版本确实安装的是php5.3,如果需要安装php5.2,可以用附件中的脚本自动安装。


安装步骤:


1、下载解压缩文件至 /usr/local/sbin/

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

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

?

?

安装php的mysql支持执行如下命令:


sudo apt-get install php5-mysql

1 楼 sunfjun 2011-11-17  
如果出错 需要看这个

http://aziest.wordpress.com/2011/01/24/how-to-increase-your-apt-cache-limit/
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn