apache下部署showdoc

###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

###3. 重启服务器sudo /etc/init.d/apache2 restart
###4. rz上传代码到/var/www/html
###5. 给showdoc赋权限chmod -R 777 showdoc
###6. 访问localhost/showdoc/install


  • 参考http://www.showdoc.cc/web/#/php?page_id=15072

你可能感兴趣的:(Apache)