How to update my LAMP droplet php version to phpng?

  • Posted on September 10, 2014
  • vladonAsked by vladon

How to simply update my LAMP droplet to phpng?

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.