Ubuntu Server Lamp环境搭建


命令

sudo apt install apache2
sudo apt install php7.0
sudo apt install libapache2-mod-php7.0
sudo apt-get install mysql-server
sudo apt-get install php7.0-mysql
sudo service mysql restart
sudo service apache2 restart

测试 :

 

你可能感兴趣的:(Ubuntu Server Lamp环境搭建)