runtime is not valid

YII框架:新搭建的項目框架在報錯。

錯誤:

[error] [exception.CException] CException: Application runtime path "/usr/xxx/xxx/protected/runtime" is not valid. Please make sure it is a directory writable by the Web server process.

原因:

runtime目錄沒有寫的權限。

解決辦法:

chmod -R 777 runtime





發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章