---

How to install PHP (7 or 7.2) on Ubuntu

Detailed instructions on how to install and configure PHP 7 and PHP 7.2 on Ubuntu 14.04, 16.04, 18.04 etc. PHP 7.2 is the latest stable release.