Re: Scope of zend_alter_ini_entry in Apache module?
| From: | Zeev Suraski | Date: | Fri, 15 Aug 2003 22:44:37 +0000 |
| Subject: | Re: Scope of zend_alter_ini_entry in Apache module? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4009@lists.php.net to get a copy of this message | ||
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