![]() |
Login | Packages | Support | Bugs |
| Documentation: Downloads: |
[2006-06-06 05:47 UTC] soporte at onfocus dot cl
[2006-06-06 05:52 UTC] soporte at onfocus dot cl
same result using php_admin_flag and php_admin_value on httpd.conf, only setting apc.enabled from php.ini seems to work. [2006-06-06 05:58 UTC] soporte at onfocus dot cl
...and then if you look phpinfo() apc.enabled is set to On, but seems to do nothing..any idea ? [2006-06-07 04:27 UTC] gopalv
APC ini values are read before the initial apache forks and it cannot be set for directory therefore. Probably the only apc ini value should be possible to modify post fork is the filter list, I suppose. [2006-06-08 02:44 UTC] soporte at onfocus dot cl
then :
Index: reference/apc/ini.xml
===================================================================
RCS file: /repository/phpdoc/en/reference/apc/ini.xml,v
retrieving revision 1.6
diff -u -a -r1.6 ini.xml
--- reference/apc/ini.xml 12 Mar 2006 02:16:54 -0000 1.6
+++ reference/apc/ini.xml 8 Jun 2006 02:41:25 -0000
@@ -47,7 +47,7 @@
<row>
<entry>apc.enabled</entry>
<entry>"1"</entry>
- <entry>PHP_INI_ALL</entry>
+ <entry>PHP_INI_SYSTEM</entry>
<entry></entry>
</row>
<row>
and
Index: php_apc.c
===================================================================
RCS file: /repository/pecl/apc/php_apc.c,v
retrieving revision 3.98
diff -u -a -r3.98 php_apc.c
--- php_apc.c 7 Jun 2006 18:35:28 -0000 3.98
+++ php_apc.c 8 Jun 2006 02:42:20 -0000
@@ -136,7 +136,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.optimization", "0", PHP_INI_ALL,
OnUpdateInt, optimization, zend_apc_globals,
apc_globals)
I assume this cna be changeable in httpd.conf at least right ?
[2006-12-11 05:17 UTC] shire at php dot net
This has been corrected in CVS so that the apc.enabled is INI_SYSTEM. To allow per directory configuration the apc.cache_by_default setting has been changed to INI_ALL. Thanks. |
||||||||||||||||||||||
|
PRIVACY POLICY | CREDITS |
|
|
Copyright © 2001-2008 The PHP Group All rights reserved. |
Last updated: Fri Aug 07 10:22:05 2009 UTC Bandwidth and hardware provided by: pair Networks |