Re: [APC-DEV] Fwd: [PECL-CVS] cvs: pecl /apc php_apc.c
| From: | Rasmus Lerdorf | Date: | Sun, 10 Dec 2006 16:12:23 +0000 |
| Subject: | Re: [APC-DEV] Fwd: [PECL-CVS] cvs: pecl /apc php_apc.c | ||
| References: | 1 2 | Groups: | php.apc.dev |
| Request: | Send a blank email to php-apc-dev+get-31@lists.php.net to get a copy of this message | ||
Now you do.
Brian Shire wrote:
> I don't believe I have CVS access to update the documentation, if
> everyone is ok with these changes can we update the docs? There's also
> a change I added to apc_fetch that isn't updated in the documentation
> either. (parameter can now be an array of keys to fetch).
>
> -shire
>
> Begin forwarded message:
>
>> From: "Brian Shire" <shire@php.net>
>> Date: December 9, 2006 6:34:28 PM PST
>> To: pecl-cvs@lists.php.net
>> Subject: [PECL-CVS] cvs: pecl /apc php_apc.c
>>
>> 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();
>>
>> --PECL CVS Mailing List
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
> -Brian Shire
> shire@facebook.com
> shire@php.net
> aim: int80h
>
> --APC Development Mailing List (http://pecl.php.net/APC)
> To unsubscribe, visit: http://www.php.net/unsub.php