Re: Per-directory PHP configuration

From: Date: Mon, 24 Aug 2009 22:21:32 +0000
Subject: Re: Per-directory PHP configuration
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-45370@lists.php.net to get a copy of this message
hi, On Tue, Aug 25, 2009 at 12:18 AM, Edward Z. Yang<ezyang@mit.edu> 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.  I 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=...] 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 until > recently of the new ini per dir functionality.  I 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.  That is a very interesting implementation, although due > to backwards-compatibility we can't exactly tell all of our users to convert > 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, -- Pierre http://blog.thepimp.net | http://www.libgd.org

« previous php.internals (#45370) next »