Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45370 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61976 invoked from network); 24 Aug 2009 22:21:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Aug 2009 22:21:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad 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:42652] helo=mail-fx0-f212.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 71/5B-03363-F62139A4 for ; Mon, 24 Aug 2009 18:21:36 -0400 Received: by fxm8 with SMTP id 8so1649769fxm.23 for ; Mon, 24 Aug 2009 15:21:32 -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=e2i7VLriv6nQoie0mO/vvRXFdOusMPjosvrE4vl5nyQ=; b=DAgc2jTZMzh2ldkne+khO5WBLYw742e143zVLi8dZ251GIkT33xnJwWO5h7u9fGk/U 26kriBZmDBFVaKh/d8Ea4CVOU3mmBNfkDP0Si5MWjz5Cm7SgaTopnYlKjEHLrtuoKE/d zX4nf0eH8z8tiTyjpa2OtxDdbthobBSXWcdYs= 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=Lr3Mhc9sDFj6pdh23TCRa2yRB0KRmLwuRoAk6FXtiRRzS0v7XxPvDFX9wNPc9uJz3K dGOc0kEOAnjoBmsRZ2jYwmrMAn4CQUwoHEUCWkZoqA0rZYeW/Vhc5IpAX/t1XGUBn49x YCPKcjWwJoPl4PD9g4WOpRYKA1n4p4awrsZng= MIME-Version: 1.0 Received: by 10.86.214.12 with SMTP id m12mr3748797fgg.55.1251152492137; Mon, 24 Aug 2009 15:21:32 -0700 (PDT) In-Reply-To: <1251151666-sup-9840@javelin> References: <1251149348-sup-4709@javelin> <1251151666-sup-9840@javelin> Date: Tue, 25 Aug 2009 00:21:32 +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) hi, On Tue, Aug 25, 2009 at 12:18 AM, Edward Z. Yang wrote: > Excerpts from Pierre Joye's message of Mon Aug 24 18:03:14 -0400 2009: >> The patch is missing. > > I intentionally omitted it, since it had some code specific to our > environment. =A0I have posted it here: > > http://web.mit.edu/~ezyang/Public/php-scripts.patch > > It is very very rough and does things that would never ever be allowed > in the PHP core. > >> However I already have a question. I hope you >> know that we introduced the ini per dir in 5.3. It supports user ini >> files in the document root, [PATH=3D...] in the main php.ini, etc. Did >> you improve it or started from scratch? > > The patch is off of PHP 5.2 (which we have deployed); I wasn't aware unti= l > recently of the new ini per dir functionality. =A0I don't think it has > quite the same functionality though. 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. >> Btw, for previous php versions, did you look at pecl's htscanner as well= ? > > I had not heard of htscanner, and on the prompting of your mail went and > looked it up. =A0That is a very interesting implementation, although due > to backwards-compatibility we can't exactly tell all of our users to conv= ert > their php.ini files into htaccess files ;-) > > If I have misinterpreted, please let me know (I only made cursory glances > through the associated diffs/source code). It is easy to make htscanner support ini format instead :) Cheers, --=20 Pierre http://blog.thepimp.net | http://www.libgd.org