Report this

What is the reason for this report?

How to update my LAMP droplet php version to phpng?

Posted on September 10, 2014

How to simply update my LAMP droplet to phpng?



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!

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.

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

wget http://repos.zend.com/zend.key -O- 2> /dev/null | sudo apt-key add -
sudo echo "deb [arch=amd64] http://repos.zend.com/zend-server/early-access/phpng/ 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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.