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
三、访问网站提示php把报错
这种表示网站目录权限开启了防跨站
bt面板为例:
或者手动删除网站根目录的文件:user.ini