php 5.3, 5.4, 5.5 upgrade/downgrade in ubuntu 12.04
The start is from php 5.3.10, a ubuntu 12.04 default version. Upgrade to 5.4.x sudo apt-get install python-software-properties sudo add-apt-repository ppa:ondrej/ php5-oldstable sudo apt-get update sudo apt-get install php5 Upgrade to 5.5.x sudo apt-get install python-software-properties sudo add-apt-repository ppa:ondrej/ php5 sudo apt-get update sudo apt-get install php5 Downgrade to 5.4.x from 5.5.x sudo apt-get install -y ppa-purge sudo add-apt-repository -y ppa:ondrej/php5-oldstable sudo apt-get update sudo ppa-purge ppa:ondrej/php5 sudo apt-get update sudo apt-get upgrade -y sudo apt-get autoremove -y sudo apt-get autoclean Downgrade to 5.3.x from 5.5.x sudo apt-get install -y ppa-purge sudo ppa-purge ppa:ondrej/php5 sudo apt-get update sudo apt-get upgrade -y sudo apt-get autoremove -y sudo apt-get autoclean Downgrade to 5.3.x from 5.4.x sudo apt-get install -y ppa-purge sudo ppa-purge pp...