sfSQLiteCacheを使う
ファイルキャッシュはディレクトリ生成しまくりで、safe_mode下では何かと都合が悪いので、sfSQLiteCacheに変更。
factories.yml内のview_cache設定を以下のようにする。
all:
view_cache:
class: sfSQLiteCache
param:
automaticCleaningFactor: 0
database: %SF_TEMPLATE_CACHE_DIR%/cache.db