PATH_INFO

Igor Sysoev is at rambler-co.ru
Wed Sep 23 22:01:15 MSD 2009


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/





More information about the nginx mailing list