summaryrefslogtreecommitdiffstats
path: root/xcache-cacher.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-01-09 12:01:12 +0100
committerRemi Collet <fedora@famillecollet.com>2014-01-09 12:01:12 +0100
commit805f1345ed2655b8e65f08e069c258871b2a55ea (patch)
treebeaf63483a5278cb586c2a5101e9eced3b6ef18d /xcache-cacher.patch
parent2ae4ed7e2599ac0950764668cd847dfa9fd8748a (diff)
php-xcache: adapt for SCL, drop conflicts with other cache, disable cacher in provided config
Diffstat (limited to 'xcache-cacher.patch')
-rw-r--r--xcache-cacher.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/xcache-cacher.patch b/xcache-cacher.patch
new file mode 100644
index 0000000..a415114
--- /dev/null
+++ b/xcache-cacher.patch
@@ -0,0 +1,14 @@
+diff -up xcache-3.1.0/xcache.ini.old xcache-3.1.0/xcache.ini
+--- xcache-3.1.0/xcache.ini.old 2014-01-09 10:45:55.139937807 +0100
++++ xcache-3.1.0/xcache.ini 2014-01-09 10:47:44.972289458 +0100
+@@ -66,7 +66,9 @@ xcache.disable_on_crash = Off
+ xcache.experimental = Off
+
+ ; per request settings. can ini_set, .htaccess etc
+-xcache.cacher = On
++; WARNING set xcache.cacher=On only when no other cache installed
++; Will create conflicts with php-opcache or php-pecl-zendopcache
++xcache.cacher = Off
+ xcache.stat = On
+ xcache.optimizer = Off
+