extension=apc.so apc.enabled=1 apc.shm_segments=1 apc.shm_size=1024 ;The number of seconds a cache entry is allowed to idle in a slot before APC dumps the cache apc.ttl=7200 apc.user_ttl=7200 apc.gc_ttl=3600 ;Allow 2 seconds after a file is created before it is cached to prevent users from seeing half-written/weird pages apc.file_update_protection=2 ;Relative to the number of cached files (you may need to watch your stats for a day or two to find out a good number) apc.num_files_hint=20000 apc.max_file_size=3M apc.mmap_file_mask=/tmp/apc_shm.XXXXXX