|
|
a9d52d |
; Enable APCu extension module
|
|
|
a9d52d |
extension = apcu.so
|
|
|
a9d52d |
|
|
|
a9d52d |
; This can be set to 0 to disable APCu
|
|
|
a9d52d |
apc.enabled=1
|
|
|
a9d52d |
|
|
|
a9d52d |
; Setting this enables APCu for the CLI version of PHP
|
|
|
a9d52d |
; (Mostly for testing and debugging).
|
|
|
a9d52d |
;apc.enable_cli=0
|
|
|
a9d52d |
|
|
|
a9d52d |
; Sets the path to text files containing caches to load from disk upon
|
|
|
a9d52d |
; initialization of APCu. preload_path should be a directory where each
|
|
|
a9d52d |
; file follows $key.data where $key should be used as the entry name
|
|
|
a9d52d |
; and the contents of the file contains serialized data to use as the value
|
|
|
a9d52d |
; of the entry.
|
|
|
a9d52d |
;apc.preload_path=
|
|
|
a9d52d |
|
|
|
a9d52d |
; The size of each shared memory segment, with M/G suffixe
|
|
|
a9d52d |
;apc.shm_size=32M
|
|
|
a9d52d |
|
|
|
a9d52d |
; The number of seconds a cache entry is allowed to idle in a slot in case
|
|
|
a9d52d |
; this cache entry slot is needed by another entry.
|
|
|
a9d52d |
;apc.ttl=0
|
|
|
a9d52d |
|
|
|
a9d52d |
; The number of seconds that a cache entry may remain on the
|
|
|
a9d52d |
; garbage-collection list.
|
|
|
a9d52d |
;apc.gc_ttl=3600
|
|
|
a9d52d |
|
|
|
a9d52d |
; If you begin to get low on resources, an expunge of the cache
|
|
|
a9d52d |
; is performed if it is less than half full. This is not always
|
|
|
a9d52d |
; a suitable way of determining if an expunge of the cache
|
|
|
a9d52d |
; should be per apc.smart allows you to set a runtime configuration
|
|
|
a9d52d |
; value which is used to determine if an expunge should be run
|
|
|
a9d52d |
; if (available_size < apc.smart * requested_size)
|
|
|
a9d52d |
;apc.smart=0
|
|
|
a9d52d |
|
|
|
a9d52d |
; A "hint" about the number variables expected in the cache.
|
|
|
a9d52d |
; Set to zero or omit if you are not sure;
|
|
|
a9d52d |
;apc.entries_hint=4096
|
|
|
a9d52d |
|
|
|
a9d52d |
; The mktemp-style file_mask to pass to the mmap module
|
|
|
a9d52d |
apc.mmap_file_mask=/tmp/apc.XXXXXX
|
|
|
a9d52d |
|
|
|
a9d52d |
; On very busy servers whenever you start the server or
|
|
|
a9d52d |
; modify files you can create a race of many processes
|
|
|
a9d52d |
; all trying to cache the same data at the same time.
|
|
|
a9d52d |
; By default, APCu attempts to prevent "slamming" of a key.
|
|
|
a9d52d |
; A key is considered "slammed" if it was the last key set,
|
|
|
a9d52d |
; and a context other than the current one set it ( ie. it
|
|
|
a9d52d |
; was set by another process or thread )
|
|
|
a9d52d |
;apc.slam_defense=0
|
|
|
a9d52d |
|
|
|
a9d52d |
; Defines which serializer should be used
|
|
|
a9d52d |
; Default is the standard PHP serializer.
|
|
|
a9d52d |
;apc.serializer='php'
|
|
|
a9d52d |
|
|
|
a9d52d |
; use the SAPI request start time for TTL
|
|
|
a9d52d |
;apc.use_request_time=0
|
|
|
a9d52d |
|
|
|
a9d52d |
; Enables APCu handling of signals, such as SIGSEGV, that write core files
|
|
|
a9d52d |
; when signaled. APCu will attempt to unmap the shared memory segment in
|
|
|
a9d52d |
; order to exclude it from the core file
|
|
|
a9d52d |
;apc.coredump_unmap=0
|