File xcache-ini.patch of Package php5-xcache

--- xcache.ini.orig
+++ xcache.ini
@@ -46,12 +46,12 @@ xcache.var_namespace_mode =    0
 xcache.var_namespace =        ""
 
 ; N/A for /dev/zero
-xcache.readonly_protection = Off
+xcache.readonly_protection = On
 ; for *nix, xcache.mmap_path is a file path, not directory. (auto create/overwrite)
 ; Use something like "/tmp/xcache" instead of "/dev/*" if you want to turn on ReadonlyProtection
 ; different process group of php won't share the same /tmp/xcache
 ; for win32, xcache.mmap_path=anonymous map name, not file path
-xcache.mmap_path =    "/dev/zero"
+xcache.mmap_path =    "/tmp/xcache"
 
 
 ; Useful when XCache crash. leave it blank(disabled) or "/tmp/phpcore/" (writable by php)
openSUSE Build Service is sponsored by