open_basedir restriction in effect

2024-01-27 13:49 小编

绑定域名后出现这种错误时

Warning: is_file(): open_basedir restriction in effect. File(*****) is not within the allowed path(s):

Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/xxxxx/index.php) is not within the allowed path(s): (/www/wwwroot/xxxxx/xxxxx/:/tmp/:/proc/) in /www/wwwroot/xxxxx/xxxxx/index.php on line 11


Warning: require(/www/wwwroot/xxxxx/index.php): failed to open stream: Operation not permitted in /www/wwwroot/xxxxx/xxxxx/index.php on line 11


Fatal error: require(): Failed opening required '/www/wwwroot/xxxxx/index.php' (include_path='.:/www/server/php/73/lib/php') in /www/wwwroot/xxxxx/xxxxx/index.php on line 11

需要删除根目录的的user.ini文件

image.png

image.png

在线咨询 拨打电话

电话

13363039260

微信二维码

微信二维码