LNMP TP 宝塔 require(): open_basedir restriction in effect,解决方法:关闭防跨站攻击。

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

Warning: require(/www/wwwroot/thinkphp/start.php): failed to open stream: Operation not permitted in /www/wwwroot/public/index.php on line 17

Fatal error: require(): Failed opening required ‘/www/wwwroot/public/…/thinkphp/start.php’ (include_path=’.:/www/server/php/70/lib/php’) in /www/wwwroot/public/index.php on line 17
LNMP TP 宝塔 require(): open_basedir restriction in effect,解决方法:关闭防跨站攻击。_第1张图片

作者:pinming_sanlang1990
来源:CSDN
原文:https://blog.csdn.net/pinming_sanlang1990/article/details/81543563
版权声明:本文为博主原创文章,转载请附上博文链接!

你可能感兴趣的:(宝塔,php)