PHP,MySQL已安装并正常运行。
/etc/nginx/sites-enabled/default.conf
文件
Uncommented 54,55,61,62,63,64
added 8080 port in 21 line
commented 22 line
change the path in 23 line to /var/www/html/
line number 25 , add index.php into the list.
毕竟我重新启动了nginx服务器,然后我收到了这个错误。
使用服务nginx重启
nginx:[emerg]未知指令“位置”在/ etc / nginx / sites-enabled /中:54
nginx:配置文件/etc/nginx/nginx.conf测试失败