Question

Can't use PHP 7 after upgrade from PHP5

Posted April 20, 2016 1.9k views
Apache PHP

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

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.

2 answers

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/

Submit an Answer