Home  >  Article  >  Backend Development  >  Ubuntu使用apt-get安装PHP指定版本

Ubuntu使用apt-get安装PHP指定版本

WBOY
WBOYOriginal
2016-06-23 13:31:512388browse

1、添加源
apt-get install python-software-properties -y
add-apt-repository ppa:zanfur/php5.5
apt-get update

2、安装php5.5
apt-get install php5-gd php5-mysql mysql-server nginx php5-cli


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