Thursday, May 22, 2008

Unable to write config cache for "config/config_handlers.yml"

After upgrading to symfony version 1.0.16 from 1.0.8 I started to get this error:

Unable to write config cache for "config/config_handlers.yml"

I tried to chmod 777 the cache and it didn't work. The solution for me was to disable SELinux.

How to do that? edit your /etc/sysconfig/selinux file, and set SELINUX=disabled:


# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcinfg - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled