install php on apache debian code example Example: debian install apache php apt-get -y install php7.0 libapache2-mod-php7.0