Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45376 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81424 invoked from network); 24 Aug 2009 23:37:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Aug 2009 23:37:41 -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.220.212 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.220.212 mail-fx0-f212.google.com Received: from [209.85.220.212] ([209.85.220.212:61511] helo=mail-fx0-f212.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/8F-03363-544239A4 for ; Mon, 24 Aug 2009 19:37:41 -0400 Received: by fxm8 with SMTP id 8so1673883fxm.23 for ; Mon, 24 Aug 2009 16:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=8ji4t1iYLDyvHsscq/kgIV9awyFWWDSOKEsiA9PhMWY=; b=HWCeOPb0c8Vwy+PZdpMTU9GrnXsLPK/43lR7B3TzVq0KJO/ctge17/T/hc2elcHyA0 2LNXAbXGtrWBiWAuFZK/ppV7o00vDAQaqQXaKeML0ugIcBDlmszmi2o3upA68iJiCmlE qv1VJECkNrTDumnyG8ybHc4UYMPbZq+GPQ07c= 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:content-transfer-encoding; b=nQumj0l8ManwOyDZavJ13JsMIh89i8Q8nZMxfeqQRgV6SnpGBFh85mxD05QpP0VyR1 GQ6U24ystQBtSFPDthXCWesrqUhfw0XBZMQbEjMWcG1E3pUfKuq0JPoVkffEgrnjpXSZ V2ByEqz3CSFskFaXnDa3aObJvCsNKaZVQRnsc= MIME-Version: 1.0 Received: by 10.86.222.5 with SMTP id u5mr3758142fgg.67.1251157058508; Mon, 24 Aug 2009 16:37:38 -0700 (PDT) In-Reply-To: <1251153827-sup-3119@javelin> References: <1251149348-sup-4709@javelin> <1251151666-sup-9840@javelin> <1251153827-sup-3119@javelin> Date: Tue, 25 Aug 2009 01:37:38 +0200 Message-ID: To: "Edward Z. Yang" Cc: internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Per-directory PHP configuration From: pierre.php@gmail.com (Pierre Joye) On Tue, Aug 25, 2009 at 1:09 AM, Edward Z. Yang wrote: > Excerpts from Pierre Joye's message of Mon Aug 24 18:21:32 -0400 2009: >> Please point out the differences and list what else you may need. I do >> not think we will introduce another feature but improve the current >> implementation. > > As I understand it, the features are not compatible. =A0One takes an > explicit list of directories to scan, while the other dynamically > determines it based on the current working directory and the > user's home directory. =A0(There are some other features on top > of this, but that's the essential functionality). =A0Please let me > know if I am mistaken. There is two modes: - It looks in the current directory for ini file (named by default .user.ini) and scan the parent directories up to the document root to apply rules from other .user.ini. - new directives in php.ini using sections, like [PATH=3D/home/www/site1] or [HOST=3D...] >> It is easy to make htscanner support ini format instead :) > > That is true. =A0However, it would be nice to see this go into the > core, so as to encourage wide use (also, htscanner is something > of a hack, quite frankly.) It is in the core now, and from an implementation point of view there are very few differences. Cheers, --=20 Pierre http://blog.thepimp.net | http://www.libgd.org