Upgrade to PHP 7 on Ubuntu 14.04
If you are anything like me, then you have a bunch of servers still running PHP 5.6. The time has come for you and me to upgrade to PHP 7.
I have been finally forced to upgrade to PHP 7 by a single Laravel package. This is very sad but ok. The good thing is that you can serve sites with both PHP 5.6 and PHP 7 at the same time, so in that way, you can still run old applications that require PHP 5.6 and run new applications that run on PHP 7.
I manage a bunch of servers and I'm planning on upgrading them all, so I will write down a small and simple gist on how to do this. The site that I will be upgrading to PHP 7 in this tutorial is this site Laravelista. There are a few other sites on the same server, but I will leave those on PHP 5.6 until needed.
Upgrading for the sake of upgrading is a waste of time if you ask me. I like to have everything on the latest release, but sometimes time spent does not convert to money earned.
- Cover image How to be loved created by Reda Lazri
To continue reading, choose a subscription plan: