将php7.0 更改为php5.6
//安装php
apt-get install php5 php5-mysql libapache2-mod-php5
//禁用php7.0
a2dismod php7.0
//启用php5.6
a2enmod php5
//重启apache2
service apache2 restart
将php7.0 更改为php5.6
//安装php
apt-get install php5 php5-mysql libapache2-mod-php5
//禁用php7.0
a2dismod php7.0
//启用php5.6
a2enmod php5
//重启apache2
service apache2 restart