必要安装
sudo apt-get install apache2
sudo apt-getinstall php
sudo apt-get install mysql-server
sudo apt-get install mysql-client
sudo apt-get install php-mysql
sudo apt-get install libapache2-mod-php
装好以后 修改 /etc/php/7.0/apache2/php.ini
display_errors = On
error_reporting = E_ALL | E_STRICT
开启报错
修改 php-mbstring 把前面的;
去掉 不然等下phpmyadmin 报错