installing php on ubuntu
snippet in php

ubuntu install php 7

user8051

sudo apt-get install php libapache2-mod-php

installing php on ubuntu

user6199

sudo apt install php7.2-cli
sudo apt install hhvm