ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: интерпретация переменн ых внутри PHP VALUE и PHP ADMIN VALU E для PHP-FPM



On 13 Jul 2011 17h30 WEST, nginx-forum@xxxxxxxx wrote:

I forgot the fastcgi_param "include_path=$x";
in my previous message. It was there, but I forgot to paste it here.

1. I cannot make it work. In order for it to work it requires that the
   PHP_VALUE facility behaves like a .ini file. According to
   http://www.php.net/manual/en/configuration.file.php since PHP 5.1
   you can refer to previous runtime parameters in the .ini file with
   ${parameter_name}.

2. From the FCGI spec the params are an unidirectional thing: from
   Nginx to the FCGI backend
   *only*. http://www.fastcgi.com/devkit/doc/fcgi-spec.html#S5.2

3. I tried several combinations of quoting methods and none of them
   work.

4. I tried a "simpler" parameter like precision. 

   geo $y {
     default "${precision}+1";
   }

   with fastcgi_param PHP_VALUE "precision=$x";

  Doesn't work either.

It could be something in my PHP environment (e.g., Debian always
patches PHP using sushosin -
http://www.hardened-php.net/suhosin/a_feature_list.html) :(

спасибо,
Ant?nio

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.