On 13 Jul 2011 17h30 WEST, nginx-forum@nginx.us 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@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru