Path_info

why when I set fastcgi_param PATH_INFO whatever;
At PHP, I got the value from $_SERVER[“ORIG_PATH_INFO”] and not from
$_SERVER[“PATH_INFO”]

nginx version: nginx/0.7.61
PHP 5.2.0-8+etch15 (cgi-fcgi) (built: May 1 2009 10:20:42)

I have another server that works:
nginx version: nginx/0.7.60
PHP 5.2.9-0.dotdeb.1 with Suhosin-Patch 0.9.7 (cgi-fcgi) (built: Apr
9 2009 15:40:07)

On Wed, Sep 23, 2009 at 09:04:28AM -0700, Neves wrote:

9 2009 15:40:07)
As I understand from PHP sources it sets $_SERVER[“ORIG_PATH_INFO”] if
cgi.fix_pathinfo = 1

On Wed, Sep 23, 2009 at 11:36:25AM -0700, Neves wrote:

I set it to 0 and now it works. Thanks!
Do you know why this configuration does not show on phpinfo() ?

I do not know.


Igor S.
http://sysoev.ru/en/

I set it to 0 and now it works. Thanks!
Do you know why this configuration does not show on phpinfo() ?