how to install apache2 php code example
Example 1: installing php on ubuntu
sudo apt install php7.2-cli
sudo apt install hhvm
Example 2: installing apache mod php
sudo apt install libapache2-mod-php
sudo apt install php7.2-cli
sudo apt install hhvm
sudo apt install libapache2-mod-php