Re: Allowing [SAPI=] entries in ini files.
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)