使用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刪除。