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