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

Kinch Zhang kinch.zhang at gmail.com
Tue Mar 17 06:56:38 MSK 2009


Hi, there.

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+.

Regards,

Kinch Zhang






More information about the nginx mailing list