Report this

What is the reason for this report?

How to update PHP on my LEMP stack droplet (ubuntu)?

Posted on February 18, 2018

I have a LEMP stack droplet, but I guess DO uses custom versioning or something since php -v returns a message that I don’t have php. I do have it though, its just version 5.5.9 and I’d need at least 5.6 or later.

How could I update php to the latest stable version, or at least to 5.6, without breaking existing stuff on my droplet?

Many thanks

apt-get upgrade does for the reason above

The developer cloud

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

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.