我有一個YII webapp項目,我已經使用svn checkout repo
。當我嘗試我的NGINX服務器上運行這個web應用程序,它(PROJECT1)給我一個錯誤 -在SVN結賬後配置YII webapp
Application runtime path "~/workspace/project1/protected/runtime" is not valid. Please make sure it is a directory writable by the Web server process.
但是,當我創建其他一些誼項目(項目2)像 -
yiic webapp ~/workspace/project2
#and then the MVC procedure
./protected/yiic shell
>>model User users
>>crud User
我可以在瀏覽器中運行我的webapp。
是否因爲項目1未配置?我必須手動對我的working copy
進行配置?
它沒有幫助。我甚至不能運行'project1/index.php' – Hussain
忽略我之前的註釋,唯一需要的是允許nginx用戶寫入* runtime *文件夾,這是我對重命名的錯誤,對不起。 –
是的。謝謝。無法從'確保它是可寫的目錄'。認爲這是yii的東西,而不是unix的東西。把東西放在答案中。 – Hussain