How to install php5 and php7 on Ubuntu 18.04 LTS

This article describes a step by step procedure to install PHP versions 5.6 and 7.2 on your Ubuntu. After installing the two versions, we will also explain how you can disable one version and enable another version to be treated as the default version by the system. Learn More