至尊技术网 - Warning https://www.zzwws.cn/tag/Warning/ zh-CN Sat, 31 Oct 2020 22:18:52 +0800 Sat, 31 Oct 2020 22:18:52 +0800 php中遇到Warning: include(....) 如何解决 https://www.zzwws.cn/archives/4858/ https://www.zzwws.cn/archives/4858/ Sat, 31 Oct 2020 22:18:52 +0800 悠悠楠杉 Warning: include(): open_basedir restriction in effect. File(/www/wwwroot/xxx.com/api/index.php) is not within the allowed path(s): (/www/wwwroot/xxx.com/:/tmp/) in /www/wwwroot/xxx.com/index.php on line 17 Warning: include(/www/wwwroot/xxx.com/api/index.php): failed to open stream: Operation not permitted in /www/wwwroot/xxx.com/index.php on line 17 Warning: include(): Failed opening '/www/wwwroot/xxx.com/api/index.php' for inclusion (include_path='.:/www/server/php/56/lib/php') in /www/wwwroot/xxx.com/index.php on line 17

解决方法

把宝塔里的防跨站攻击关了就可以了!

]]>
0 https://www.zzwws.cn/archives/4858/#comments https://www.zzwws.cn/feed/tag/Warning/