From 13cdb42481b568b74f5e9c48216f8ee05fab25e6 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sat, 21 Apr 2007 04:46:03 +0000 Subject: [PATCH] New configuration directives git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@234216 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/apc/ini.xml | 170 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 169 insertions(+), 1 deletion(-) diff --git a/reference/apc/ini.xml b/reference/apc/ini.xml index e7d92f276c..04dc9e47d9 100644 --- a/reference/apc/ini.xml +++ b/reference/apc/ini.xml @@ -1,5 +1,5 @@ - +
&reftitle.runtime; &extension.runtime; @@ -74,12 +74,24 @@ PHP_INI_SYSTEM + + apc.user_entries_hint + "4096" + PHP_INI_SYSTEM + + apc.ttl "0" PHP_INI_SYSTEM + + apc.user_ttl + "0" + PHP_INI_SYSTEM + + apc.gc_ttl "3600" @@ -134,6 +146,42 @@ PHP_INI_SYSTEM > APC 3.0.9 + + apc.write_lock + "1" + PHP_INI_SYSTEM + >= APC 3.0.11 + + + apc.report_autofilter + "0" + PHP_INI_SYSTEM + >= APC 3.0.11 + + + apc.include_once_override + "0" + PHP_INI_SYSTEM + >= APC 3.0.12 + + + apc.rfc1867 + "0" + PHP_INI_SYSTEM + >= APC 3.0.13 + + + apc.localcache + "0" + PHP_INI_SYSTEM + >= APC 3.0.14 + + + apc.localcache.size + "512" + PHP_INI_SYSTEM + >= APC 3.0.14 + @@ -217,6 +265,19 @@ + + + apc.user_entries_hint + integer + + + + Just like apc.num_files_hint, + a "hint" about the number of distinct user cache variables to store. + Set to zero or omit if not sure. + + + apc.ttl @@ -233,6 +294,20 @@ + + + apc.user_ttl + integer + + + + The number of seconds a user cache entry is allowed to idle in a slot in + case this cache entry slot is needed by another entry. Leaving this at + zero means that your cache could potentially fill up with stale entries + while newer entries won't be cached. + + + apc.gc_ttl @@ -410,6 +485,99 @@ + + + + apc.write_lock + boolean + + + + On busy servers when you first start up the server, or when many files + are modified, you can end up with all your processes trying to compile + and cache the same files. With write_lock enabled, only one process at a + time will try to compile an uncached script while the other processes + will run uncached instead of sitting around waiting on a lock. + + + + + + + apc.report_autofilter + boolean + + + + Logs any scripts that were automatically excluded from being cached due + to early/late binding issues. + + + + + + + apc.include_once_override + boolean + + + + Optimize include_once and require_once + calls and avoid the expensive system calls used. + + + + + + + apc.rfc1867 + boolean + + + + RFC1867 File Upload Progress hook handler is only available if you + compiled APC against PHP 5.2.0 or later. When enabled, any file uploads + which includes a field called APC_UPLOAD_PROGRESS + before the file field in an upload form will cause APC to automatically + create an upload_key user cache entry where + key is the value of the + APC_UPLOAD_PROGRESS form entry. + + + Note that the file upload tracking is not threadsafe at this point, so + new uploads that happen while a previous one is still going will disable + the tracking for the previous. + + + + + + + apc.localcache + boolean + + + + This enables a lock-free local process shadow-cache which reduces lock + contention when the cache is being written to. + + + + + + + apc.localcache.size + integer + + + + The size of the local process shadow-cache, should be set to a + sufficently large value, approximately half of + apc.num_files_hint. + + + +