Question

How to update my LAMP droplet php version to phpng?

Posted September 10, 2014 2.2k 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.

×
1 answer

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.

Submit an Answer