使用thinkphp5安装到宝塔的linux上,出现以下错误:
Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/c
解决办法:找到 php.ini 打开 open_basedir 修改为: /www/wwwroot/
open_basedir = "/www/wwwroot/"
然后就可以正常访问了。
thinkphp5---安装到宝塔出现Warning: require(): open_basedir错误
原文:https://www.cnblogs.com/e0yu/p/10852351.html