[packages/php-pecl-apcu] update apcu.ini
glen
glen at pld-linux.org
Sat May 3 18:16:46 CEST 2014
commit c6c920dfd7d61f6f3b83adb880dba9729eaf1c03
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat May 3 19:15:48 2014 +0300
update apcu.ini
updated from fedora php-pecl-apcu repo
apcu.ini | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 66 insertions(+), 2 deletions(-)
---
diff --git a/apcu.ini b/apcu.ini
index a56f9e9..5743242 100644
--- a/apcu.ini
+++ b/apcu.ini
@@ -1,7 +1,71 @@
; Enable APCu extension module
; see INSTALL for description of the configurable options
extension=apcu.so
+
+; This can be set to 0 to disable APCu
apc.enabled=1
+
+; Setting this enables APCu for the CLI version of PHP
+; (Mostly for testing and debugging).
+;apc.enable_cli=0
+
+; Sets the path to text files containing caches to load from disk upon
+; initialization of APCu. preload_path should be a directory where each
+; file follows $key.data where $key should be used as the entry name
+; and the contents of the file contains serialized data to use as the value
+; of the entry.
+;apc.preload_path=
+
+; The size of each shared memory segment, with M/G suffixe
;apc.shm_size=32M
-;apc.ttl=7200
-;apc.enable_cli=1
+
+; The number of seconds a cache entry is allowed to idle in a slot in case
+; this cache entry slot is needed by another entry.
+;apc.ttl=0
+
+; The number of seconds that a cache entry may remain on the
+; garbage-collection list.
+;apc.gc_ttl=3600
+
+; If you begin to get low on resources, an expunge of the cache
+; is performed if it is less than half full. This is not always
+; a suitable way of determining if an expunge of the cache
+; should be per apc.smart allows you to set a runtime configuration
+; value which is used to determine if an expunge should be run
+; if (available_size < apc.smart * requested_size)
+;apc.smart=0
+
+; A "hint" about the number variables expected in the cache.
+; Set to zero or omit if you are not sure;
+;apc.entries_hint=4096
+
+; The mktemp-style file_mask to pass to the mmap module
+apc.mmap_file_mask=/tmp/apc.XXXXXX
+
+; On very busy servers whenever you start the server or
+; modify files you can create a race of many processes
+; all trying to cache the same data at the same time.
+; By default, APCu attempts to prevent "slamming" of a key.
+; A key is considered "slammed" if it was the last key set,
+; and a context other than the current one set it ( ie. it
+; was set by another process or thread )
+;apc.slam_defense=1
+
+; Defines which serializer should be used
+; Default is the standard PHP serializer.
+;apc.serializer='default'
+
+; use the SAPI request start time for TTL
+;apc.use_request_time=1
+
+; Enables APCu handling of signals, such as SIGSEGV, that write core files
+; when signaled. APCu will attempt to unmap the shared memory segment in
+; order to exclude it from the core file
+;apc.coredump_unmap=0
+
+; RFC1867 File Upload Progress hook handler
+;apc.rfc1867=0
+;apc.rfc1867_prefix =upload_
+;apc.rfc1867_name=APC_UPLOAD_PROGRESS
+;apc.rfc1867_freq=0
+;apc.rfc1867_ttl=3600
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-apcu.git/commitdiff/6faee65153bb1145c5b7784967f30e0f5a077a3c
More information about the pld-cvs-commit
mailing list