Unable to write cache symfony2

前端 未结 3 619
感情败类
感情败类 2021-01-23 02:23
RuntimeException in ClassCollectionLoader.php line 239: 

Failed to write cache file \"/var/www/fareast/app/cache/dev/classes.php\".

I have this error

3条回答
  •  遇见更好的自我
    2021-01-23 03:00

    Setting 777 permissions do nothing, because when webserver user write folders to it, the folders belong to this user, and you, as command line user haven't access to them, and vice versa. Set permissions in correct way: http://symfony.com/doc/current/book/installation.html#book-installation-permissions

提交回复
热议问题