今天调试代码出错,open_basedir 不对,看了一下日志,
2017/11/14 01:39:15 [error] 14439#0: *28 FastCGI sent in stderr: "PHP message: PHP Warning: require_once(): open_basedir restriction in effect. File(/work/web/yxt_shop/webroot/web/includes/init.php) is not within the allowed path(s): (/www/wwwroot/gogoude/:/tmp/:/proc/) in /work/web/yxt_shop/webroot/web/index.php on line 18
PHP message: PHP Warning: require_once(/work/web/yxt_shop/webroot/web/includes/init.php): failed to open stream: Operation not permitted in /work/web/yxt_shop/webroot/web/index.php on line 18
2017/11/14 01:39:15 [error] 14439#0: *28 FastCGI sent in stderr: "PHP message: PHP Warning: require_once(): open_basedir restriction in effect. File(/work/web/yxt_shop/webroot/web/includes/init.php) is not within the allowed path(s): (/www/wwwroot/gogoude/:/tmp/:/proc/) in /work/web/yxt_shop/webroot/web/index.php on line 18
PHP message: PHP Warning: require_once(/work/web/yxt_shop/webroot/web/includes/init.php): failed to open stream: Operation not permitted in /work/web/yxt_shop/webroot/web/index.php on line 18