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/#/
原文地址:https://segmentfault.com/a/1190000016187966