Question

Can't use PHP 7 after upgrade from PHP5

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

Subscribe
Share

Submit an 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.

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/

Nothing?