thinkphp5---安裝到寶塔出現Warning: require(): open_basedir錯誤


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



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM