Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4009 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96057 invoked from network); 15 Aug 2003 22:36:36 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 15 Aug 2003 22:36:36 -0000 Received: (qmail 31310 invoked from network); 15 Aug 2003 22:36:35 -0000 Received: from localhost (HELO zeev-laptop.zend.com) (127.0.0.1) by localhost with SMTP; 15 Aug 2003 22:36:35 -0000 Reply-To: zeev@zend.com Message-ID: <5.1.0.14.2.20030816014333.0514b728@localhost> X-Sender: zeev@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sat, 16 Aug 2003 01:44:37 +0300 To: Mark Morley Cc: internals@lists.php.net In-Reply-To: <2831f8ef50e808836aea7a8b7953f860@grapevine.islandnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Scope of zend_alter_ini_entry in Apache module? From: zeev@zend.com (Zeev Suraski) References: <2831f8ef50e808836aea7a8b7953f860@grapevine.islandnet.com> 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