[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nginx
Subject:    Re: PATH_INFO
From:       Igor Sysoev <is () rambler-co ! ru>
Date:       2009-09-23 18:01:15
Message-ID: 20090923180115.GA96073 () rambler-co ! ru
[Download RAW message or body]

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

> 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)

As I understand from PHP sources it sets $_SERVER["ORIG_PATH_INFO"] if
cgi.fix_pathinfo = 1


-- 
Igor Sysoev
http://sysoev.ru/en/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic