nginx訪問php文件顯示access denied

nginx_error.log文件錯誤內容爲:*52535 FastCGI sent in stderr: "Access to the script '/home/wwwroot/default/sgllNew/public' has been denied (see security.limit_extensions)"...... 解決辦法:設置php.ini的cgi.fix_pathinf
相關文章
相關標籤/搜索