php环境安装安装此文,将php7改为了php5。其他一样。
http://www.chinaz.com/web/2016/0126/499592.shtml
1.启动与停止apache
/etc/init.d/apache2 start
sudo /etc/init.d/apache2 stop
service apache2 restart --重启
2.启动、停止、删除mysql
/etc/init.d/mysql start
/etc/init.d/mysql stop
apt-get remove mysql
sudo apt-get install mariadb