Answer the question
In order to leave comments, you need to log in
Symfony how to clear the cache so that www-data has rights to it and vice versa?
Good afternoon.
I clear the cache with this command: bin/console cache:clear -e prod
With this command, I understand that the cache is recreated - "warmed up". But after that www-data doesn't have access to it and everything breaks.
On the other hand, if the cache is created while the application is running, then I can no longer clear it under my user.
How do you get out of such a situation? And then I just delete the folders under the root now.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question