In the custom mass hosting module I'm working on I make calls to zend_alter_ini_entry
(thanks Uwe!) to dynamically change PHP settings for each virtual host. Works great,
but I'm wondering about the scope of this function.
If I change a setting, does that change only affect the current request, or does it change
it for the lifetime of the Apache child process, or for all Apache children?
Mark
At 09:39 15/08/2003, Mark Morley wrote:
In the custom mass hosting module I'm working on I make calls to
zend_alter_ini_entry
(thanks Uwe!) to dynamically change PHP settings for each virtual
host. Works great,
but I'm wondering about the scope of this function.If I change a setting, does that change only affect the current request,
or does it change
it for the lifetime of the Apache child process, or for all Apache children?
It's supposed to change it only for the life of the current request. I'm
saying 'supposed' because there have been sporadic reports about this not
working properly, and changes that 'leak' and somehow persist across
requests. I still haven't been able to see that in my own eyes, though :I
Zeev