summaryrefslogtreecommitdiffstats
path: root/xcache-conf.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-09-09 08:42:03 +0200
committerRemi Collet <fedora@famillecollet.com>2012-09-09 08:42:03 +0200
commitf1915c3dde4cb2d537b707ed6f999a28912be01f (patch)
treeeaef5fe3d3af57f82a6cb009eeb6cfcb007b5aaf /xcache-conf.patch
php-xcache: new package
Diffstat (limited to 'xcache-conf.patch')
-rw-r--r--xcache-conf.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/xcache-conf.patch b/xcache-conf.patch
new file mode 100644
index 0000000..c708a12
--- /dev/null
+++ b/xcache-conf.patch
@@ -0,0 +1,19 @@
+--- xcache.ini.upstream 2012-09-09 07:56:44.000000000 +0200
++++ xcache.ini 2012-09-09 07:59:12.000000000 +0200
+@@ -1,15 +1,8 @@
+-;; this is an example, it won't work unless properly configured into php.ini
+ [xcache-common]
+ ;; WARNING: zend_extension* = *xcache* MUST be the first(above) of all zend_extension*=*
+ ;; using extension=xcache.so is not recommended
+
+-;; non-windows example
+-;; update xxx accordingly
+-zend_extension = /usr/local/lib/php/extensions/non-debug-non-zts-xxx/xcache.so
+-;; windows example:
+-zend_extension_ts = c:/php/extensions/php_xcache.dll
+-;; for newer PHP, _ts is removed, use the following line instead
+-zend_extension = c:/php/extensions/php_xcache.dll
++zend_extension = @EXTDIR@/xcache.so
+
+ [xcache.admin]
+ xcache.admin.enable_auth = On