Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48928 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81944 invoked from network); 21 Jun 2010 18:35:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jun 2010 18:35:43 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.161.42 mail-fx0-f42.google.com Received: from [209.85.161.42] ([209.85.161.42:42290] helo=mail-fx0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 56/82-62847-DF0BF1C4 for ; Mon, 21 Jun 2010 14:35:42 -0400 Received: by fxm5 with SMTP id 5so2393621fxm.29 for ; Mon, 21 Jun 2010 11:35:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=tYYVMHutY6eBflyUlkvYRx7kJbuLHSQlWm/EvhjGJyo=; b=IcYYVAcgzPqbaepDvksMOvYjwpO/Hu0l5k+oJ6ndg/Hic/1sM/H58cCVk3B0+98zVk XROalOEGWmhs4WxgCZ8k++b39pMv+HBvXx0HAYWm7Lcd2gL8ULO+wGG1Wjoyepr8o56f CCCJazDzj85i4hjql82anUUdvFVbLojJ+wN5g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=SkMAJs0DEEdvtbrfQh+7ob2JzMUFQ9WxbMM2SBKAgdqkdJVsj9uhpP5h/MqbbpiXYP ZoZyd2JJbMFWSUIHPr2Iqmiqux/Ni6jEwO6UG50pjYkPTG4I480FUfitcOwKfGiYh8FX jrL2qnsmvAViw6Bg47EOtnEO9R74kXNxmLipo= MIME-Version: 1.0 Received: by 10.223.45.22 with SMTP id c22mr5245370faf.107.1277145338792; Mon, 21 Jun 2010 11:35:38 -0700 (PDT) Received: by 10.223.113.143 with HTTP; Mon, 21 Jun 2010 11:35:38 -0700 (PDT) In-Reply-To: References: <4C1DE819.2070406@daevel.fr> Date: Mon, 21 Jun 2010 20:35:38 +0200 Message-ID: To: "Vincenzo D'Amore" Cc: Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Performance problem with php From: pierre.php@gmail.com (Pierre Joye) hi, On Mon, Jun 21, 2010 at 7:23 PM, Vincenzo D'Amore wrote: > Hello All, > > could anybody tell me why also for every single php file engine must lstat > all path? It is done once per paths set and then cached. > Why php engine don't simply try to open directly the file? Many reasons, one of the parent paths may not be accessible, check open base dir, etc. It can resolve links too while being at it. cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org