- 论坛徽章:
- 0
|
开启php.ini的open_basedir后程序报错
Warning: require() [function.require]: open_basedir restriction in effect. File() is not within the allowed path(s): (/data/www/wwwroot/:/tmp/) in /data/www/wwwroot/blog/index.php on line 17
Fatal error: Can't load ./wp-blog-header.php, open_basedir restriction. in /data/www/wwwroot/blog/index.php on line 17
这个提示是怎么回事?开启open_basedir = /data/www/wwwroot/:/tmp/ 就报这个错,关闭就好了,但是open_basedir设置的目录应该没问题的啊
不光是wordpress 只要打开open_basedir所有的程序都报错
opendir的路径是 /data/www/wwwroot/ 所有程序都在这个目录下
系统环境是nginx+php-fpm |
|