apache centos install php code example
Example 1: debian install apache php
apt-get -y install php7.0 libapache2-mod-php7.0
Example 2: installing apache mod php
sudo apt install libapache2-mod-php
apt-get -y install php7.0 libapache2-mod-php7.0
sudo apt install libapache2-mod-php