How to update my LAMP droplet php version to phpng?

Posted September 10, 2014 2.5k views

How to simply update my LAMP droplet to phpng?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Zend offers an Ubuntu repository with PHPNG packages for Ubuntu 14.04. You can enable it and upgrade PHP by running:

wget -O- 2> /dev/null | sudo apt-key add -
sudo echo "deb [arch=amd64] trusty zend" > /etc/apt/sources.list.d/phpng.list
sudo apt-get update
sudo apt-get upgrade php5

Note that they only provide 64bit packages.