Re: Allowing [SAPI=] entries in ini files.

From: Date: Mon, 25 Nov 2013 16:39:06 +0000
Subject: Re: Allowing [SAPI=] entries in ini files.
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-70382@lists.php.net to get a copy of this message
On 25 November 2013 16:10, Johannes Schlüter <johannes@schlueters.de> wrote:

> On Sat, 2013-11-16 at 13:54 +0200, Richard Quadling wrote:
> > I created a patch https://github.com/php/php-src/pull/466 to allow
> > ini
> > files to have a SAPI section, just like they can have a HOST and PATH
> > section.
>
> Mind that we have per-SAPI configuration files (php-$SAPI.ini).
> I'd like to keep the the number of ways to configure PHP limited in
> order to prevent a mess ...
>
>
In a per sapi ini file, the use of [SAPI=] for a non matching SAPI would
have no effect (so at least it is safe to put them in).

And just to repeat, the use of the additional directory for INI files
precludes the use of sapi specific ini files, and this route is what I'm
using to allow me the flexibility I need with our current hoster.

Regards,

Richard.


-- 
Richard Quadling
Twitter : @RQuadling


Thread (16 messages)

« previous php.internals (#70382) next »