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





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