Update PHP5 on Linux LAMP/WAMP

Some days ago a friend of mine asked me how it’s possible to update the PHP version to the latest stable build. Updating using the regular (web) interface didn’t seem to work…

This is how you do that :

add-apt-repository ppa:onderj/php5
apt-get update
apt-get install php5

 

[stextbox id=”warning”]After this you don’t have to reboot your server.[/stextbox]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.