1
0
Fork 0

update coverager default, update ini inline help

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@39 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
Xuefer 2006-05-27 12:01:25 +00:00
parent 8ad49a489b
commit d10f58cf05
2 changed files with 12 additions and 7 deletions

View File

@ -1801,8 +1801,8 @@ PHP_INI_BEGIN()
STD_PHP_INI_BOOLEAN("xcache.optimizer", "0", PHP_INI_ALL, OnUpdateBool, optimizer, zend_xcache_globals, xcache_globals)
#endif
#ifdef HAVE_XCACHE_COVERAGER
PHP_INI_ENTRY1 ("xcache.coveragedump_directory", "", PHP_INI_SYSTEM, xc_OnUpdateString, &xc_coveragedump_dir)
STD_PHP_INI_BOOLEAN("xcache.coveragedumper" , "1", PHP_INI_ALL, OnUpdateBool, coveragedumper, zend_xcache_globals, xcache_globals)
PHP_INI_ENTRY1 ("xcache.coveragedump_directory", "/tmp/pcov/", PHP_INI_SYSTEM, xc_OnUpdateString, &xc_coveragedump_dir)
STD_PHP_INI_BOOLEAN("xcache.coveragedumper" , "0", PHP_INI_ALL, OnUpdateBool, coveragedumper, zend_xcache_globals, xcache_globals)
#endif
PHP_INI_END()
/* }}} */

View File

@ -13,7 +13,7 @@ xcache.admin.user = "mOo"
xcache.admin.pass = ""
[xcache]
; ini only settings, all the values here is default
; ini only settings, all the values here is default unless explained
; to disable: xcache.size=0
; to enable : xcache.size=any size > 0 and your system mmap allows
xcache.size = 0
@ -30,8 +30,12 @@ xcache.var_slots = 8K
xcache.test = Off
; N/A for /dev/zero
xcache.readonly_protection = Off
; for win32, xcache.mmap_path=anonymous map name, not file path
; uncomment and change to "/tmp/xcache" for readonly protection
; 2 group of php won't share the same /tmp/xcache
xcache.mmap_path = "/dev/zero"
; leave it blank(disabled) or "/tmp/phpcore/"
; make sure it's writable by php (without checking open_basedir)
xcache.coredump_directory = ""
@ -42,7 +46,8 @@ xcache.optimizer = Off
[xcache.coverager]
; ini only settings
; xcache.coveragedump_directory = "/tmp/pcov/"
xcache.coveragedump_directory = ""
; per request settings, disable if xcache.coveragedump_directory is not set
xcache.coveragedumper = On
; make sure it's readable (care open_basedir) coverage viewer script
xcache.coveragedump_directory = "/tmp/pcov/"
; per request settings, will be auto disabled if xcache.coveragedump_directory is not set
xcache.coveragedumper = Off