Browse Source

Set apc.enable_cli = 1

Without this Symfony2 will not use APC cache for Doctrine metadata annotations.

More info here: http://gogs.info/2013/05/using-apc-cache-with-doctrine-symfony/
Goran Jurić 12 years ago
parent
commit
c8b0d2fe40
1 changed files with 2 additions and 1 deletions
  1. 2 1
      config/php.ini

+ 2 - 1
config/php.ini

@@ -1,4 +1,3 @@
-
 [PHP]
 [PHP]
 
 
 ;;;;;;;;;;;;;;;;;;;
 ;;;;;;;;;;;;;;;;;;;
@@ -1864,3 +1863,5 @@ ldap.max_links = -1
 ; End:
 ; End:
 [apc]
 [apc]
 apc.stat = 0
 apc.stat = 0
+apc.enable_cli = 1
+apc.shm_size = 64M