How to install PHP, Apache and switch PHP versions (5.6, 7.0, 7.1, 7.2) in Ubuntu

October 25, 2017

This is the quickest way that I’ve found to install PHP and setup Apache2 and switch the versions: Using this guide you will only be able to use currently supported versions. The supported versions are listed here: Step 0 In case you have something messed up or you have old version on your machine

Continue Reading