Lines 1-5
Link Here
|
1 |
--- xcache.ini.orig Sun Oct 29 23:03:49 2006 |
1 |
--- xcache.ini.orig 2008-01-31 18:46:33.000000000 +0100 |
2 |
+++ xcache.ini Wed Nov 8 08:49:51 2006 |
2 |
+++ xcache.ini 2008-01-31 18:49:46.000000000 +0100 |
3 |
@@ -1,17 +1,13 @@ |
3 |
@@ -1,17 +1,13 @@ |
4 |
[xcache-common] |
4 |
[xcache-common] |
5 |
-;; install as zend extension (recommended), normally "$extension_dir/xcache.so" |
5 |
-;; install as zend extension (recommended), normally "$extension_dir/xcache.so" |
Lines 7-35
Link Here
|
7 |
-; zend_extension_ts = /usr/local/lib/php/extensions/non-debug-zts-xxx/xcache.so |
7 |
-; zend_extension_ts = /usr/local/lib/php/extensions/non-debug-zts-xxx/xcache.so |
8 |
-;; For windows users, replace xcache.so with php_xcache.dll |
8 |
-;; For windows users, replace xcache.so with php_xcache.dll |
9 |
-zend_extension_ts = c:/php/extensions/php_xcache.dll |
9 |
-zend_extension_ts = c:/php/extensions/php_xcache.dll |
10 |
-;; or install as extension, make sure your extension_dir setting is correct |
|
|
11 |
-; extension = xcache.so |
12 |
-;; or win32: |
13 |
-; extension = php_xcache.dll |
14 |
+;; install as zend extension (recommended, but not working yet) |
10 |
+;; install as zend extension (recommended, but not working yet) |
15 |
+; zend_extension = %%LOCALBASE%%/lib/php/%%PHP_EXT_DIR%%/xcache.so |
11 |
+; zend_extension = %%LOCALBASE%%/lib/php/%%PHP_EXT_DIR%%/xcache.so |
16 |
+; zend_extension_ts = %%LOCALBASE%%/lib/php/%%PHP_EXT_DIR%%/xcache.so |
12 |
+; zend_extension_ts = %%LOCALBASE%%/lib/php/%%PHP_EXT_DIR%%/xcache.so |
17 |
+;; or install as extension |
13 |
;; or install as extension, make sure your extension_dir setting is correct |
|
|
14 |
-; extension = xcache.so |
15 |
-;; or win32: |
16 |
-; extension = php_xcache.dll |
18 |
+extension = xcache.so |
17 |
+extension = xcache.so |
19 |
|
18 |
|
20 |
[xcache.admin] |
19 |
[xcache.admin] |
21 |
xcache.admin.auth = On |
20 |
xcache.admin.enable_auth = On |
22 |
-xcache.admin.user = "mOo" |
21 |
-xcache.admin.user = "mOo" |
23 |
+xcache.admin.user = "admin" |
22 |
+xcache.admin.user = "admin" |
24 |
; xcache.admin.pass = md5($your_password) |
23 |
; xcache.admin.pass = md5($your_password) |
25 |
xcache.admin.pass = "" |
24 |
xcache.admin.pass = "" |
26 |
|
25 |
|
27 |
@@ -22,7 +18,7 @@ |
26 |
@@ -33,7 +29,7 @@ |
28 |
xcache.shm_scheme = "mmap" |
27 |
xcache.gc_interval = 0 |
29 |
; to disable: xcache.size=0 |
28 |
|
30 |
; to enable : xcache.size=64M etc (any size > 0) and your system mmap allows |
29 |
; same as aboves but for variable cache |
31 |
-xcache.size = 0M |
30 |
-xcache.var_size = 0M |
32 |
+xcache.size = 64M |
31 |
+xcache.var_size = 64M |
33 |
; set to cpu count (cat /proc/cpuinfo |grep -c processor) |
32 |
xcache.var_count = 1 |
34 |
xcache.count = 1 |
33 |
xcache.var_slots = 8K |
35 |
; just a hash hints, you can always store count(items) > slots |
34 |
; default ttl |