Custom settings with PHP
Jérôme Loyet
jerome at loyet.net
Fri Jun 18 21:03:54 MSD 2010
2010/6/18 Michael Shadle <mike503 at gmail.com>:
> On Fri, Jun 18, 2010 at 9:18 AM, Igor Sysoev <igor at sysoev.ru> wrote:
>> On Fri, Jun 18, 2010 at 09:12:51AM -0700, Michael Shadle wrote:
>>
>>> So basically space or linebreak delimited?
>>
>> I believe that linebreak. This is not nginx's feature, but PHP's one.
>
> Yeah, according to Jérôme's comment on bugs.php.net, it needs \n
>
> So it looks like \n is okay, spaces are not (but isn't that the FPM
> SAPI processing it anyway? Couldn't it actually accept anything with
> any delimiter you put in the SAPI Jérôme?)
>
yes you need to use \n to separate. This way the code hack to make it
works is quite simple (we can reuse as is the INI parsing stuff). If
we want to use another delimiter (space, comma), it'll be quite more
difficult to code and certainly more difficult to test and valid. I'm
notre sure we want to go with this.
More information about the nginx
mailing list