Changeset 927 for trunk/xcache.ini


Ignore:
Timestamp:
2012-06-26T06:21:04+02:00 (3 years ago)
Author:
moo
Message:

improve notes in ini

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.ini

    r895 r927  
     1;; this is an example, it won't work unless properly configured into php.ini 
    12[xcache-common] 
    2 ;; install as zend extension (recommended), normally "$extension_dir/xcache.so" 
     3;; WARNING: zend_extension* = *xcache* MUST be the first(above) of all zend_extension*=* 
     4;; using extension=xcache.so is not recommended 
     5 
     6;; non-windows example 
     7;; update xxx accordingly 
    38zend_extension = /usr/local/lib/php/extensions/non-debug-non-zts-xxx/xcache.so 
    4 ; zend_extension_ts = /usr/local/lib/php/extensions/non-debug-zts-xxx/xcache.so 
    5 ;; For windows users, replace xcache.so with php_xcache.dll 
     9;; windows example: 
    610zend_extension_ts = c:/php/extensions/php_xcache.dll 
    7 ;; or install as extension, make sure your extension_dir setting is correct 
    8 ; extension = xcache.so 
    9 ;; or win32: 
    10 ; extension = php_xcache.dll 
     11;; for newer PHP, _ts is removed, use the following line instead 
     12zend_extension = c:/php/extensions/php_xcache.dll 
    1113 
    1214[xcache.admin] 
    1315xcache.admin.enable_auth = On 
    1416xcache.admin.user = "mOo" 
    15 ; xcache.admin.pass = md5($your_password) 
     17; set xcache.admin.pass = md5($your_password) 
     18; login use $your_password 
    1619xcache.admin.pass = "" 
    1720 
     
    3740xcache.var_count =             1 
    3841xcache.var_slots =            8K 
    39 ; default ttl 
     42; default value for $ttl parameter of xcache_*() functions 
    4043xcache.var_ttl   =             0 
     44; hard limit ttl that cannot be exceed by xcache_*() functions. 0=unlimited 
    4145xcache.var_maxttl   =          0 
    4246xcache.var_gc_interval =     300 
     
    4448; N/A for /dev/zero 
    4549xcache.readonly_protection = Off 
    46 ; for *nix, xcache.mmap_path is a file path, not directory. 
    47 ; Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection 
    48 ; 2 group of php won't share the same /tmp/xcache 
     50; for *nix, xcache.mmap_path is a file path, not directory. (auto create/overwrite) 
     51; Use something like "/tmp/xcache" instead of "/dev/*" if you want to turn on ReadonlyProtection 
     52; different process group of php won't share the same /tmp/xcache 
    4953; for win32, xcache.mmap_path=anonymous map name, not file path 
    5054xcache.mmap_path =    "/dev/zero" 
     
    5559xcache.coredump_directory =   "" 
    5660 
    57 ; per request settings 
     61; enable experimental documented features for each release if available 
     62xcache.experimental =        Off 
     63 
     64; per request settings. can ini_set, .htaccess etc 
    5865xcache.cacher =               On 
    5966xcache.stat   =               On 
    6067xcache.optimizer =           Off 
    6168 
    62 xcache.test =                Off 
    63 xcache.experimental =        Off 
     69[xcache.coverager] 
     70; enabling this feature will impact performance 
     71; enable only if xcache.coverager == On && xcache.coveragedump_directory == "non-empty-value" 
    6472 
    65 [xcache.coverager] 
    66 ; per request settings 
    67 ; enable coverage data collecting for xcache.coveragedump_directory and xcache_coverager_start/stop/get/clean() functions (will hurt executing performance) 
     73; per request settings. can ini_set, .htaccess etc 
     74; enable coverage data collecting and xcache_coverager_start/stop/get/clean() functions 
    6875xcache.coverager =          Off 
    6976 
    70 ; ini only settings 
     77; set in php ini file only 
    7178; make sure it's readable (open_basedir is checked) by coverage viewer script 
    72 ; requires xcache.coverager=On 
    7379xcache.coveragedump_directory = "" 
Note: See TracChangeset for help on using the changeset viewer.