使用宝塔新增网站访问的时候报错
Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/perfecttools/web/../../vendor/autoload.php)
is not within the allowed path(s): (/www/wwwroot/perfecttools/web/:/tmp/:/proc/) in ...
解决方案:
宝塔后台->网站->设置->网站目录里 关闭防跨站攻击选项