My Symfony 2 website has recently been giving me problems when I try to clear the cache. I type the following command in the terminal:
php app/console cache:clea
You need to get your access rights on both cache & logs folders. To do that, you can follow the indications given here :