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


09-13 15:22