宝塔面板中ThinkPHP5更改网站目录为/public后运行报错的解决办法董德多2020年6月14日0 今天在部署一个ThinkPHP5开发的网站时,把网站根目录指向到public目录下,结果运行后产生以下错误 Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/xxx/thinkphp/start.php) is not within