Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32233 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57380 invoked by uid 1010); 11 Sep 2007 08:07:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 57365 invoked from network); 11 Sep 2007 08:07:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Sep 2007 08:07:50 -0000 Authentication-Results: pb1.pair.com header.from=jani.taskinen@sci.fi; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=jani.taskinen@sci.fi; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sci.fi from 63.208.196.171 cause and error) X-PHP-List-Original-Sender: jani.taskinen@sci.fi X-Host-Fingerprint: 63.208.196.171 outbound.mailhop.org FreeBSD 4.6-4.9 Received: from [63.208.196.171] ([63.208.196.171:1637] helo=outbound.mailhop.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/61-48550-6DC46E64 for ; Tue, 11 Sep 2007 04:07:50 -0400 Received: from pc128.sanomamagazines.fi ([194.211.146.128] helo=[10.26.8.44]) by outbound.mailhop.org with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.68) (envelope-from ) id 1IV0mg-000AYk-0S; Tue, 11 Sep 2007 04:07:46 -0400 X-MHO-User: U2FsdGVkX19eVQXn9exjAQqefc8NMdc41Qbxhsy3bV8= X-MHO-User: U2FsdGVkX18aKrTU67umMoYeXQwtsEt8Hk9H1+WkAvs= X-MHO-User: U2FsdGVkX1+GEmPIFp00vzcOafLb6KkPOjN5nx66nFw= X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 194.211.146.128 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+wnj90AvTXGizcMrtwWj+O4KtnHs1ub4w= Reply-To: jani.taskinen@iki.fi To: Pierre Cc: Andi Gutmans , Ilia Alshanetsky , PHP Developers Mailing List In-Reply-To: References: <6F509818-65A2-4B17-8C44-6970E815A169@prohost.org> <698DE66518E7CA45812BD18E807866CEA2AE39@us-ex1.zend.net> Content-Type: text/plain Date: Tue, 11 Sep 2007 11:07:52 +0300 Message-ID: <1189498072.3319.14.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP 5.3 Suggested Feature List From: jani.taskinen@sci.fi (Jani Taskinen) On Mon, 2007-09-10 at 22:56 +0200, Pierre wrote: > On 9/10/07, Andi Gutmans wrote: > > > 16) Introduce new php.ini files parser/scanner + CGI/FastCGI? > > > "htaccess" style ini file support > > > > > > 1 0 -1 > > > > 0 (this can be nice but we need to make sure it's optional because those > > stat()'s can be very hard on performance which is why many sites turn > > off .htaccess). > > For the record here, a cache is planed once we have a stable version. > Something like what htscanner does, it already caches the entries > (cache + stat check once ttl is over). Just clarification: the caching is there already. :) But I didn't use any stat calls for sake of KISS. When cached results expire, the file (if it exists..) is re-scanned. Maybe someone has better idea. But that remains to be seen. :) --Jani -- Patches/Donations: http://pecl.php.net/~jani/