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_pathinfo=1。原来为0,,据查 改成1后会被人以图片的形式攻击:

nginx访问php文件显示access denied

 

 

查个所以然太耗时间,,,先让程序跑起来再说。。。有大佬知道并看见  愿意的话可以回复解答一下
 

相关文章:

  • 2022-01-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2021-05-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-15
相关资源
相似解决方案