How to Install PHP 7.2 on Ubuntu 16.04

In this tutorial we will show you how to install PHP 7.2 on Ubuntu 16.04. PHP (Hypertext Preprocessor) is an open-source server-side scripting language designed primarily for creating dynamic interactive websites. PHP is one of the most popular languages and it is freely available for redistribution and modifications.