Browse Source

added xcache.experimental for use to turn on experimental features

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@399 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 15 years ago
parent
commit
8f801199f8
  1. 7
      ChangeLog
  2. 1
      xcache.c
  3. 4
      xcache.ini
  4. 1
      xcache_globals.h

7
ChangeLog

@ -1,4 +1,11 @@
2.0.0 2007-?-?
Ini Settings Changes
========
* new: xcache.experimental = Off
ChangeLog
========
* new: xcache.stat = On
* could not show module info in admin page when XCache is the last module
* wrong http auth realm
* #86: remove/edit variable in admin page

1
xcache.c

@ -2541,6 +2541,7 @@ PHP_INI_BEGIN()
STD_PHP_INI_BOOLEAN("xcache.cacher", "1", PHP_INI_ALL, OnUpdateBool, cacher, zend_xcache_globals, xcache_globals)
STD_PHP_INI_BOOLEAN("xcache.stat", "1", PHP_INI_ALL, OnUpdateBool, stat, zend_xcache_globals, xcache_globals)
STD_PHP_INI_BOOLEAN("xcache.experimental", "0", PHP_INI_ALL, OnUpdateBool, experimental, zend_xcache_globals, xcache_globals)
#ifdef HAVE_XCACHE_OPTIMIZER
STD_PHP_INI_BOOLEAN("xcache.optimizer", "0", PHP_INI_ALL, OnUpdateBool, optimizer, zend_xcache_globals, xcache_globals)
#endif

4
xcache.ini

@ -40,7 +40,6 @@ xcache.var_ttl = 0
xcache.var_maxttl = 0
xcache.var_gc_interval = 300
xcache.test = Off
; N/A for /dev/zero
xcache.readonly_protection = Off
; for *nix, xcache.mmap_path is a file path, not directory.
@ -59,6 +58,9 @@ xcache.cacher = On
xcache.stat = On
xcache.optimizer = Off
xcache.test = Off
xcache.experimental = Off
[xcache.coverager]
; per request settings
; enable coverage data collecting for xcache.coveragedump_directory and xcache_coverager_start/stop/get/clean() functions (will hurt executing performance)

1
xcache_globals.h

@ -2,6 +2,7 @@
ZEND_BEGIN_MODULE_GLOBALS(xcache)
zend_bool cacher; /* true if enabled */
zend_bool stat;
zend_bool experimental;
#ifdef HAVE_XCACHE_OPTIMIZER
zend_bool optimizer; /* true if enabled */
#endif

Loading…
Cancel
Save