symfony2 : failed to write cache directory

后端 未结 10 1708
没有蜡笔的小新
没有蜡笔的小新 2020-12-12 11:21

I have had to use the

app/console cache:clear  command

to solve a problem when generating an entity.

I am now unable to load my ho

10条回答
  •  孤城傲影
    2020-12-12 11:53

    Maybe you forgot to change the permissions of app/cache app/log

    I'm using Ubuntu so

    sudo chmod -R 777 app/cache
    sudo chmod -R 777 app/logs
    sudo setfacl -dR -m u::rwX app/cache app/logs
    

    Hope it helps..

提交回复
热议问题