If you use php web applications then your know a lot are now demanding to be updated to php 5.4 or higher. To do this in Ubuntu 12.04LTS simply do the following…
If you haven’t already used ppa then you will have to first install python software properties, make sure you’re the root user… ( sudo bash )
apt-get install python-software-propertiesPHP 5.4.x run:
add-apt-repository ppa:ondrej/php5-oldstablePHP 5.5.x run:
add-apt-repository ppa:ondrej/php5Once you’ve added the repo simply update and upgrade current packages & distribution packages with one simple command :)
apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y