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