- 积分
- 8
- 威望
-
- 金钱
-
- 注册时间
- 2019-8-6
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
这是日志里的报错信息
2019/08/06 14:52:27 [error] 31014#0: *17 FastCGI sent in stderr: "PHP message: PHP Warning: require(): open_basedir restriction in effect. File(/home/wwwroot/cypay/bootstrap/autoload.php) is not within the allowed path(s): (/home/wwwroot/cypay/public/:/tmp/:/proc/) in /home/wwwroot/cypay/public/index.php on line 21
PHP message: PHP Warning: require(/home/wwwroot/cypay/bootstrap/autoload.php): failed to open stream: Operation not permitted in /home/wwwroot/cypay/public/index.php on line 21
PHP message: PHP Fatal error: require(): Failed opening required '/home/wwwroot/cypay/public/../bootstrap/autoload.php' (include_path='.:/usr/local/php/lib/php') in /home/wwwroot/cypay/public/index.php on line 21" while reading response header from upstream, client: 39.155.215.246, server: 129.138.226.78, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "129.138.226.78"
我按照一些文档里写的删除 .user.ini文件
注释了fastcgi.conf里的最后一行
重启nginx结果还是不好使
哪位大神指导怎么回事呀。如何解决
|
|