我在 Mac Os X 上安装了 Symfony 并执行以下操作:
chmod -R 777 app/cache app/log
尝试这样做:
php app/console cache:clear
并返回错误:
[RuntimeException]
Unable to write in the "/Users/anton/Sites/local/Symfony/app/cache/dev" directory
尝试修复它!谢谢!