升级php5.3至5.5
sudo add-apt-repository ppa:ondrej/php5
sudo apt-get update
sudo apt-get upgrade
sudo add-apt-repository ppa:ondrej/php5
sudo apt-get update
sudo apt-get install php5
apache2 -v
php -v
mysql -v
sudo add-apt-repository ppa:ondrej/php5
sudo apt-get update
sudo apt-get upgrade
sudo add-apt-repository ppa:ondrej/php5
sudo apt-get update
sudo apt-get install php5
//检查对应的版本
check apache2,php,mysql versionapache2 -v
php -v
mysql -v