本帖最后由 sweetzwl 于 2016-6-17 00:32 编辑
我在apache虚拟主机上配置了open_basedir后
PHP错误日志不停的报错, 不访问也报 怎么回事啊
APACHE配置:
DocumentRoot "/www"
ServerName www.laa.com
ServerAlias www.dummy-host.example.com
ErrorLog "logs/dummy-host.example.com-error_log"
CustomLog "logs/dummy-host.example.com-access_log" common
php_admin_value open_basedir "/www/:/tmp/"
>
PHP报错日志:
[17-Jun-2016 00:24:48 Asia/Chongqing] PHP Warning: include(): open_basedir restriction in effect. File() is not within the all owed path(s): (/www/:/tmp/) in /www/source/class/class_core.php on line 113
[17-Jun-2016 00:25:15 Asia/Chongqing] PHP Warning: Unknown: open_basedir restriction in effect. File() is not within the all owed path(s): (/www/:/tmp/) in Unknown on line 0
[17-Jun-2016 00:25:15 Asia/Chongqing] PHP Warning: include(): open_basedir restriction in effect. File() is not within the all owed path(s): (/www/:/tmp/) in /www/source/class/class_core.php on line 113
[17-Jun-2016 00:25:15 Asia/Chongqing] PHP Warning: include(): open_basedir restriction in effect. File() is not within the all owed path(s): (/www/:/tmp/) in /www/source/class/class_core.php on line 113
我在apache虚拟主机上配置了open_basedir后
PHP错误日志不停的报错, 不访问也报 怎么回事啊
APACHE配置:
DocumentRoot "/www"
ServerName www.laa.com
ServerAlias www.dummy-host.example.com
ErrorLog "logs/dummy-host.example.com-error_log"
CustomLog "logs/dummy-host.example.com-access_log" common
php_admin_value open_basedir "/www/:/tmp/"
>
PHP报错日志:
[17-Jun-2016 00:24:48 Asia/Chongqing] PHP Warning: include(): open_basedir restriction in effect. File() is not within the all owed path(s): (/www/:/tmp/) in /www/source/class/class_core.php on line 113
[17-Jun-2016 00:25:15 Asia/Chongqing] PHP Warning: Unknown: open_basedir restriction in effect. File() is not within the all owed path(s): (/www/:/tmp/) in Unknown on line 0
[17-Jun-2016 00:25:15 Asia/Chongqing] PHP Warning: include(): open_basedir restriction in effect. File() is not within the all owed path(s): (/www/:/tmp/) in /www/source/class/class_core.php on line 113
[17-Jun-2016 00:25:15 Asia/Chongqing] PHP Warning: include(): open_basedir restriction in effect. File() is not within the all owed path(s): (/www/:/tmp/) in /www/source/class/class_core.php on line 113
0
http://www.apelearn.com/bbs/fo ... xnone
铭哥 , 那个文件113行是这个 不太看得懂阿,
阿铭 发表于 2016-6-17 08:51
你看下那文件的113行,是不是Include 了一个其他目录的文件
http://www.apelearn.com/bbs/fo ... xnone
铭哥 , 那个文件113行是这个 不太看得懂阿,
编辑回复