Re: Allowing [SAPI=] entries in ini files.
| From: | Remi Collet | Date: | Mon, 25 Nov 2013 15:55:31 +0000 |
| Subject: | Re: Allowing [SAPI=] entries in ini files. | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-70379@lists.php.net to get a copy of this message | ||
Le 16/11/2013 12:54, Richard Quadling a écrit :
> Hi.
>
> 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.
Seems usefull.
> My use case is that the provider we are currently using does not allow us
> to have our own INI file, just the additional directory, and there is no
> way to differentiate between a CLI and a FAST-CGI setup in the additional
> directory.
Another usecase, looking at pecl/sdl extension, it seems clear it should
be "cli" only (same case as RIP gtk2).
So, I'm +1 for this feature.
Remi.
>
> The patch allows [SAPI=xxx] sections and they operate in a very similar way
> to the [HOST] and [PATH] sections.
>
> Please can this be considered for inclusion into PHP at some stage.
>
> Regards,
>
> Richard Quadling.
>