Custom settings with PHP

Michael Shadle mike503 at gmail.com
Fri Jun 18 22:16:51 MSD 2010


So anything that can be done only via htaccess in apache. Its not the same level as an fpm configuration override which is system level? Since this is being passed at runtime to already established fpm workers...


On Jun 18, 2010, at 11:08 AM, Jérôme Loyet <jerome at loyet.net> wrote:

> 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
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list