Custom settings with PHP

Jérôme Loyet jerome at loyet.net
Fri Jun 18 22:08:08 MSD 2010


2010/6/18 Michael Shadle <mike503 at gmail.com>:
> 2010/6/18 Jérôme Loyet <jerome at loyet.net>:
>
>> 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.
>
> that's cool. was just throwing ideas out there. it does look a little
> bit ugly in nginx configuration to do that :( but it is a VERY useful
> option.
>
> does this work for PHP_INI_SYSTEM? so it can override -any- variable?
> or only things that could be done normally via ini_set()?
>

It's supposed to be exactly as php_value, php_flag, php_admin_value
and php_admin_flag from the apache sapi



More information about the nginx mailing list