Report this

What is the reason for this report?

Can't use PHP 7 after upgrade from PHP5

Posted on April 20, 2016

I installed new droplet with Ubuntu 14 x64 and LAMP.

Followed this tutorial to upgrade to PHP7 https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7-on-ubuntu-14-04

And when I visit phpinfo() I get that my php version is PHP Version 5.5.9-1ubuntu4.14

Why is that and how can I fix it?

Best Regards



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.

Nothing?

Hi, to use PHP 7.0 on Ubuntu 14.04, you might try using ServerPilot to manage your droplet. ServerPilot installs multiple versions of PHP on your server and makes it easy to change the version.

https://serverpilot.io/

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.