1
0
Fork 0

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
This commit is contained in:
Xuefer 2007-05-27 14:04:56 +00:00
parent ee3c7c3c8d
commit 8f801199f8
4 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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