Changes between Version 9 and Version 10 of XcacheIni
- Timestamp:
- 08/02/2012 08:39:55 AM (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
XcacheIni
v9 v10 44 44 == XCache Cacher == 45 45 ||'''Name'''||'''Default'''||'''Changeable''' 46 ||xcache.cacher||On||PHP_INI_SYSTEM 47 ||xcache.size||0||PHP_INI_ALL 46 ||xcache.mmap_path||"/dev/zero"||PHP_INI_SYSTEM 47 ||xcache.shm_scheme||"mmap"||PHP_INI_SYSTEM 48 ||xcache.readonly_protection||Off||PHP_INI_SYSTEM 49 50 ||xcache.size||0||PHP_INI_SYSTEM 48 51 ||xcache.count||1||PHP_INI_SYSTEM 49 52 ||xcache.slots||8K||PHP_INI_SYSTEM 50 53 ||xcache.ttl||0||PHP_INI_SYSTEM 51 54 ||xcache.gc_interval||0||PHP_INI_SYSTEM 55 56 ||xcache.cacher||On||PHP_INI_ALL 57 ||xcache.stat||On||PHP_INI_ALL 58 52 59 ||xcache.var_size||0||PHP_INI_SYSTEM 53 60 ||xcache.var_count||1||PHP_INI_SYSTEM … … 56 63 ||xcache.var_maxttl||0||PHP_INI_SYSTEM 57 64 ||xcache.var_gc_interval||300||PHP_INI_SYSTEM 58 ||xcache.readonly_protection||Off||PHP_INI_SYSTEM59 ||xcache.mmap_path||"/dev/zero"||PHP_INI_SYSTEM60 65 61 '''xcache.cacher''' ''boolean'':: 62 Enable or disable opcode cacher. Not available if xcache.size is 0. 66 '''xcache.mmap_path''' ''string'':: 67 for *nix, xcache.mmap_path is a ''file path'', not directory. 68 for win32, xcache.mmap_path is anonymous ''map name'', not a file path. 69 Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection, 2 group of php won't share the same /tmp/xcache. 70 '''xcache.shm_scheme''' ''string'':: 71 How XCache get shared memory 72 '''xcache.readonly_protection''' ''boolean'':: 73 If ReadonlyProtection is turned on, it will be a bit slower, but much safer. This option isn't available for /dev/zero. 74 63 75 '''xcache.size''' ''int'':: 64 76 0 to disable, non 0 to enable. Check if your system mmap allows. … … 71 83 '''xcache.gc_interval''' ''seconds'':: 72 84 Garbage collection interval. 85 86 '''xcache.cacher''' ''boolean'':: 87 Enable or disable opcode cacher. Not available if xcache.size is 0. 88 '''xcache.stat''' ''boolean'':: 89 Do stat() to check if file updated. 90 73 91 '''xcache.var_size''' ''int'':: 74 92 '''xcache.var_count''' ''int'':: … … 81 99 '''xcache.var_gc_interval''' ''seconds'':: 82 100 Garbage collection interval for variables api. 83 '''xcache.readonly_protection''' ''boolean''::84 If ReadonlyProtection is turned on, it will be a bit slower, but much safer. This option isn't available for /dev/zero.85 '''xcache.mmap_path''' ''string''::86 for *nix, xcache.mmap_path is a ''file path'', not directory.87 for win32, xcache.mmap_path is anonymous ''map name'', not a file path.88 Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection, 2 group of php won't share the same /tmp/xcache.89 101 90 102 == XCache Optimizer == … … 97 109 == XCache Coverager == 98 110 ||'''Name'''||'''Default'''||'''Changeable''' 99 ||xcache.coverager||Off||PHP_INI_ALL 111 ||xcache.coverager||Off||PHP_INI_PERDIR 112 ||xcache.coverager_autostart||Off||PHP_INI_PERDIR 100 113 ||xcache.coveragedump_directory||"/tmp/pcov/"||PHP_INI_SYSTEM 101 114 102 115 '''xcache.coverager''' ''boolean'':: 103 116 Enable coverage data collecting for xcache.coveragedump_directory and xcache_coverager_start/stop/get/clean() functions (will hurt executing performance) 117 '''xcache.coverager_autostart''' ''boolean'':: 118 Auto call xcache_coverager_start() on each request 104 119 '''xcache.coveragedump_directory''' ''string'':: 105 120 Directory to dump coverage data. Make sure it's readable (care open_basedir) by coverage viewer script. Requires xcache.coverager=On

