summaryrefslogtreecommitdiffstats
path: root/apc-defaulton.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-02-14 13:53:51 +0100
committerRemi Collet <fedora@famillecollet.com>2014-02-14 13:53:51 +0100
commitcf2a954993d344ef2c315c2ecf4827131d5babca (patch)
treef292fba3e8e5160eb0c24ae2f0e301dc54961df6 /apc-defaulton.patch
parent396c594f1726a0f6c2132fa25171a564d946c200 (diff)
php-pecl-apc: 3.1.15-dev (latest git snapshot)
Diffstat (limited to 'apc-defaulton.patch')
-rw-r--r--apc-defaulton.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/apc-defaulton.patch b/apc-defaulton.patch
new file mode 100644
index 0000000..9c45738
--- /dev/null
+++ b/apc-defaulton.patch
@@ -0,0 +1,25 @@
+From 518c35e15f7034a26e63beb4e049b6576013014d Mon Sep 17 00:00:00 2001
+From: Xinchen Hui <laruence@php.net>
+Date: Sun, 10 Mar 2013 15:58:26 +0000
+Subject: [PATCH 1/8] default on
+
+---
+ php_apc.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/php_apc.c b/php_apc.c
+index 1a6fdcf..6d18914 100644
+--- a/php_apc.c
++++ b/php_apc.c
+@@ -279,7 +279,7 @@ STD_PHP_INI_BOOLEAN("apc.use_request_time", "1", PHP_INI_ALL, OnUpdateBool, use_
+ STD_PHP_INI_BOOLEAN("apc.lazy_functions", "0", PHP_INI_SYSTEM, OnUpdateBool, lazy_functions, zend_apc_globals, apc_globals)
+ STD_PHP_INI_BOOLEAN("apc.lazy_classes", "0", PHP_INI_SYSTEM, OnUpdateBool, lazy_classes, zend_apc_globals, apc_globals)
+ STD_PHP_INI_ENTRY("apc.serializer", "default", PHP_INI_SYSTEM, OnUpdateStringUnempty, serializer_name, zend_apc_globals, apc_globals)
+-STD_PHP_INI_BOOLEAN("apc.enable_opcode_cache", "0", PHP_INI_SYSTEM, OnUpdateBool, enable_opcode_cache, zend_apc_globals, apc_globals)
++STD_PHP_INI_BOOLEAN("apc.enable_opcode_cache", "1", PHP_INI_SYSTEM, OnUpdateBool, enable_opcode_cache, zend_apc_globals, apc_globals)
+ PHP_INI_END()
+
+ /* }}} */
+--
+1.8.4.2
+