解决方案如下:

一、找到修改fastcgi的配置文件 (/usr/local/nginx/conf/fastcgi.conf)

   php Warning: require(): open_basedir restriction in effect File(/www/wwwroot/default/

 

 

二、vi进行编辑(保存退出)

 

三、对虚拟主机配置进行重写
在Nginx低版本中,是不支持PATHINFO的,但是可以通过在Nginx.conf中配置转发规则实


四、重新启动web服务器

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-26
  • 2022-12-23
  • 2023-03-08
  • 2021-06-04
  • 2021-10-06
猜你喜欢
  • 2021-08-08
  • 2021-05-15
  • 2021-10-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案