1. 安装apache2服务器sudo apt-get install apache2
2. 安装php环境
sudo apt-get install php7.1 libapache2-mod-php7.1 php7.1-mcrypt php7.1-curl php7.1-gd php7.1-mbstring php7.1-pdo php7.1-sqlite
sudo apt-get install apache2
sudo apt-get install php7.1 libapache2-mod-php7.1 php7.1-mcrypt php7.1-curl php7.1-gd php7.1-mbstring php7.1-pdo php7.1-sqlite
sudo /etc/init.d/apache2 restart
/var/www/html
chmod -R 777 showdoc
localhost/showdoc/web/#/