How to update my LAMP droplet php version to phpng?

September 10, 2014 2.2k views

How to simply update my LAMP droplet to phpng?

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.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!