how to set php 7 in ubuntu 18.04 code example
Example: install php on ubuntu
sudo apt install php libapache2-mod-php
# restart it
sudo systemctl restart apache2
sudo apt install php libapache2-mod-php
# restart it
sudo systemctl restart apache2