使用thinkphp5安装到宝塔的linux上,出现以下错误:
Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/c
解决办法:找到 php.ini 打开 open_basedir 修改为: /www/wwwroot/
open_basedir = "/www/wwwroot/"
然后就可以正常访问了。
使用thinkphp5安装到宝塔的linux上,出现以下错误:
Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/c
解决办法:找到 php.ini 打开 open_basedir 修改为: /www/wwwroot/
open_basedir = "/www/wwwroot/"
然后就可以正常访问了。
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。