Welcome! Log In Create A New Profile

Advanced

Re: [BUG] incorrect server address passed to PHP through FastCGI(from nginx version 0.7.36)

March 17, 2009 04:21PM
On Tue, Mar 17, 2009 at 03:56:38AM +0000, Kinch Zhang wrote:

> We're using nginx with PHP through FastCGI, and from nginx 0.7.36 on, the PHP
> global variable $_SERVER["SERVER_ADDR"] is always 0.0.0.0, but with the same PHP
> configuration, nginx 0.7.35 passed the correct server address, so I think
> there's a bug in nginx 0.7.36+.

The attached patch should fix the bug.


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

Re: [BUG] incorrect server address passed to PHP through FastCGI(from nginx version 0.7.36)

Igor Sysoev March 17, 2009 04:21PM

Re: [BUG] incorrect server address passed to PHP through FastCGI(from nginx version 0.7.36)

Cliff Wells March 17, 2009 06:28PM

Re: [BUG] incorrect server address passed to PHP through FastCGI(from nginx version 0.7.36)

lhmwzy March 17, 2009 08:05PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 73
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready