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张图片

你可能感兴趣的:(PHP部署)