cvs: pecl /apc php_apc.c

From: Date: Sun, 10 Dec 2006 02:34:28 +0000
Subject: cvs: pecl /apc php_apc.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-6782@lists.php.net to get a copy of this message
shire Sun Dec 10 02:34:28 2006 UTC Modified files: /pecl/apc php_apc.c Log: Fix for Bug #7816 (soporte at onfocus), #6368 The apc.enabled value should be PHP_INI_SYSTEM Changed apc.cache_by_default to PHP_INI_ALL so that apc caching can be disabled on a perdir basis. http://cvs.php.net/viewvc.cgi/pecl/apc/php_apc.c?r1=3.121&r2=3.122&diff_format=u Index: pecl/apc/php_apc.c diff -u pecl/apc/php_apc.c:3.121 pecl/apc/php_apc.c:3.122 --- pecl/apc/php_apc.c:3.121 Thu Dec 7 21:55:40 2006 +++ pecl/apc/php_apc.c Sun Dec 10 02:34:28 2006 @@ -26,7 +26,7 @@ */ -/* $Id: php_apc.c,v 3.121 2006/12/07 21:55:40 gopalv Exp $ */ +/* $Id: php_apc.c,v 3.122 2006/12/10 02:34:28 shire Exp $ */ #include "apc_zend.h" #include "apc_cache.h" @@ -122,7 +122,7 @@ #endif PHP_INI_BEGIN() -STD_PHP_INI_BOOLEAN("apc.enabled", "1", PHP_INI_ALL, OnUpdateBool, enabled, zend_apc_globals, apc_globals) +STD_PHP_INI_BOOLEAN("apc.enabled", "1", PHP_INI_SYSTEM, OnUpdateBool, enabled, zend_apc_globals, apc_globals) STD_PHP_INI_ENTRY("apc.shm_segments", "1", PHP_INI_SYSTEM, OnUpdateInt, shm_segments, zend_apc_globals, apc_globals) STD_PHP_INI_ENTRY("apc.shm_size", "30", PHP_INI_SYSTEM, OnUpdateInt, shm_size, zend_apc_globals, apc_globals) STD_PHP_INI_BOOLEAN("apc.include_once_override", "0", PHP_INI_SYSTEM, OnUpdateBool, include_once, zend_apc_globals, apc_globals) @@ -134,8 +134,8 @@ #if APC_MMAP STD_PHP_INI_ENTRY("apc.mmap_file_mask", NULL, PHP_INI_SYSTEM, OnUpdateString, mmap_file_mask, zend_apc_globals, apc_globals) #endif - PHP_INI_ENTRY("apc.filters", NULL, PHP_INI_SYSTEM, OnUpdate_filters) -STD_PHP_INI_BOOLEAN("apc.cache_by_default", "1", PHP_INI_SYSTEM, OnUpdateBool, cache_by_default, zend_apc_globals, apc_globals) +PHP_INI_ENTRY("apc.filters", NULL, PHP_INI_SYSTEM, OnUpdate_filters) +STD_PHP_INI_BOOLEAN("apc.cache_by_default", "1", PHP_INI_ALL, OnUpdateBool, cache_by_default, zend_apc_globals, apc_globals) STD_PHP_INI_ENTRY("apc.slam_defense", "0", PHP_INI_SYSTEM, OnUpdateInt, slam_defense, zend_apc_globals, apc_globals) STD_PHP_INI_ENTRY("apc.file_update_protection", "2", PHP_INI_SYSTEM, OnUpdateInt,file_update_protection, zend_apc_globals, apc_globals) STD_PHP_INI_BOOLEAN("apc.enable_cli", "0", PHP_INI_SYSTEM, OnUpdateBool, enable_cli, zend_apc_globals, apc_globals) @@ -169,7 +169,7 @@ #else php_info_print_table_row(2, "Locking type", "File Locks"); #endif - php_info_print_table_row(2, "Revision", "$Revision: 3.121 $"); + php_info_print_table_row(2, "Revision", "$Revision: 3.122 $"); php_info_print_table_row(2, "Build Date", __DATE__ " " __TIME__); php_info_print_table_end(); DISPLAY_INI_ENTRIES();

« previous php.pecl.cvs (#6782) next »