Changeset 927 for trunk/xcache.ini
- Timestamp:
- 2012-06-26T06:21:04+02:00 (11 months ago)
- File:
-
- 1 edited
-
trunk/xcache.ini (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xcache.ini
r895 r927 1 ;; this is an example, it won't work unless properly configured into php.ini 1 2 [xcache-common] 2 ;; install as zend extension (recommended), normally "$extension_dir/xcache.so" 3 ;; WARNING: zend_extension* = *xcache* MUST be the first(above) of all zend_extension*=* 4 ;; using extension=xcache.so is not recommended 5 6 ;; non-windows example 7 ;; update xxx accordingly 3 8 zend_extension = /usr/local/lib/php/extensions/non-debug-non-zts-xxx/xcache.so 4 ; zend_extension_ts = /usr/local/lib/php/extensions/non-debug-zts-xxx/xcache.so 5 ;; For windows users, replace xcache.so with php_xcache.dll 9 ;; windows example: 6 10 zend_extension_ts = c:/php/extensions/php_xcache.dll 7 ;; or install as extension, make sure your extension_dir setting is correct 8 ; extension = xcache.so 9 ;; or win32: 10 ; extension = php_xcache.dll 11 ;; for newer PHP, _ts is removed, use the following line instead 12 zend_extension = c:/php/extensions/php_xcache.dll 11 13 12 14 [xcache.admin] 13 15 xcache.admin.enable_auth = On 14 16 xcache.admin.user = "mOo" 15 ; xcache.admin.pass = md5($your_password) 17 ; set xcache.admin.pass = md5($your_password) 18 ; login use $your_password 16 19 xcache.admin.pass = "" 17 20 … … 37 40 xcache.var_count = 1 38 41 xcache.var_slots = 8K 39 ; default ttl42 ; default value for $ttl parameter of xcache_*() functions 40 43 xcache.var_ttl = 0 44 ; hard limit ttl that cannot be exceed by xcache_*() functions. 0=unlimited 41 45 xcache.var_maxttl = 0 42 46 xcache.var_gc_interval = 300 … … 44 48 ; N/A for /dev/zero 45 49 xcache.readonly_protection = Off 46 ; for *nix, xcache.mmap_path is a file path, not directory. 47 ; Use something like "/tmp/xcache" i f you want to turn on ReadonlyProtection48 ; 2group of php won't share the same /tmp/xcache50 ; for *nix, xcache.mmap_path is a file path, not directory. (auto create/overwrite) 51 ; Use something like "/tmp/xcache" instead of "/dev/*" if you want to turn on ReadonlyProtection 52 ; different process group of php won't share the same /tmp/xcache 49 53 ; for win32, xcache.mmap_path=anonymous map name, not file path 50 54 xcache.mmap_path = "/dev/zero" … … 55 59 xcache.coredump_directory = "" 56 60 57 ; per request settings 61 ; enable experimental documented features for each release if available 62 xcache.experimental = Off 63 64 ; per request settings. can ini_set, .htaccess etc 58 65 xcache.cacher = On 59 66 xcache.stat = On 60 67 xcache.optimizer = Off 61 68 62 xcache.test = Off 63 xcache.experimental = Off 69 [xcache.coverager] 70 ; enabling this feature will impact performance 71 ; enable only if xcache.coverager == On && xcache.coveragedump_directory == "non-empty-value" 64 72 65 [xcache.coverager] 66 ; per request settings 67 ; enable coverage data collecting for xcache.coveragedump_directory and xcache_coverager_start/stop/get/clean() functions (will hurt executing performance) 73 ; per request settings. can ini_set, .htaccess etc 74 ; enable coverage data collecting and xcache_coverager_start/stop/get/clean() functions 68 75 xcache.coverager = Off 69 76 70 ; ini only settings77 ; set in php ini file only 71 78 ; make sure it's readable (open_basedir is checked) by coverage viewer script 72 ; requires xcache.coverager=On73 79 xcache.coveragedump_directory = ""
Note: See TracChangeset
for help on using the changeset viewer.

