sudo apt-get install apache2
sudo apt-get install php7.0
sudo apt-get install libapache2-mod-php //关键是这一步安装apache的php扩展
sudo apt-get install apache2
sudo apt-get install php7.0
sudo apt-get install libapache2-mod-php //关键是这一步安装apache的php扩展
转载于:https://www.cnblogs.com/dragonbad/p/6003068.html