Changes between Version 9 and Version 10 of XcacheIni


Ignore:
Timestamp:
2012-08-02T08:39:55+02:00 (3 years ago)
Author:
moo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XcacheIni

    v9 v10  
    4444== XCache Cacher ==
    4545||'''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
    4851||xcache.count||1||PHP_INI_SYSTEM
    4952||xcache.slots||8K||PHP_INI_SYSTEM
    5053||xcache.ttl||0||PHP_INI_SYSTEM
    5154||xcache.gc_interval||0||PHP_INI_SYSTEM
     55
     56||xcache.cacher||On||PHP_INI_ALL
     57||xcache.stat||On||PHP_INI_ALL
     58
    5259||xcache.var_size||0||PHP_INI_SYSTEM
    5360||xcache.var_count||1||PHP_INI_SYSTEM
     
    5663||xcache.var_maxttl||0||PHP_INI_SYSTEM
    5764||xcache.var_gc_interval||300||PHP_INI_SYSTEM
    58 ||xcache.readonly_protection||Off||PHP_INI_SYSTEM
    59 ||xcache.mmap_path||"/dev/zero"||PHP_INI_SYSTEM
    6065
    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
    6375 '''xcache.size''' ''int''::
    6476 0 to disable, non 0 to enable. Check if your system mmap allows.
     
    7183 '''xcache.gc_interval''' ''seconds''::
    7284 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
    7391 '''xcache.var_size''' ''int''::
    7492 '''xcache.var_count''' ''int''::
     
    8199 '''xcache.var_gc_interval''' ''seconds''::
    82100 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.
    89101
    90102== XCache Optimizer ==
     
    97109== XCache Coverager ==
    98110||'''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
    100113||xcache.coveragedump_directory||"/tmp/pcov/"||PHP_INI_SYSTEM
    101114
    102115 '''xcache.coverager''' ''boolean''::
    103116 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
    104119 '''xcache.coveragedump_directory''' ''string''::
    105120 Directory to dump coverage data. Make sure it's readable (care open_basedir) by coverage viewer script. Requires xcache.coverager=On