File xcache-broken-3.0.4.ini.patch of Package php5-xcache
x
1
--- xcache.ini.orig 2012-06-26 12:11:30.000000000 +0200
2
+++ xcache.ini 2012-11-18 12:36:40.928027996 +0100
3
4
xcache.shm_scheme = "mmap"
5
; to disable: xcache.size=0
6
; to enable : xcache.size=64M etc (any size > 0) and your system mmap allows
7
-xcache.size = 60M
8
+xcache.size = 64M
9
; set to cpu count (cat /proc/cpuinfo |grep -c processor)
10
xcache.count = 1
11
; just a hash hints, you can always store count(items) > slots
12
13
xcache.var_gc_interval = 300
14
15
; N/A for /dev/zero
16
-xcache.readonly_protection = Off
17
+xcache.readonly_protection = On
18
; for *nix, xcache.mmap_path is a file path, not directory. (auto create/overwrite)
19
; Use something like "/tmp/xcache" instead of "/dev/*" if you want to turn on ReadonlyProtection
20
; different process group of php won't share the same /tmp/xcache
21
; for win32, xcache.mmap_path=anonymous map name, not file path
22
-xcache.mmap_path = "/dev/zero"
23
+xcache.mmap_path = "/tmp/xcache"
24
25
26
; leave it blank(disabled) or "/tmp/phpcore/"
27