Welcome! Log In Create A New Profile

Advanced

PHP_SELF not set

September 11, 2009 04:15PM
I am trying to configure cacti under nginx. It makes heavy use of the $_SERVER['PHP_SELF'] variable, but this isn't getting set. I've tried setting it explicitly; e.g.

fastcgi_param PHP_SELF $fastcgi_script_name;

but when I dump the $_SERVER variable from PHP it's still not set. I've tried passing other variables to PHP this way as a test, and I can see them when I dump $_SERVER, so I'm wondering if nginx is stripping this, and if there's a workaround. I'm using the Ubuntu nginx 0.6.35 package under jaunty.
Subject Author Posted

PHP_SELF not set

durist September 11, 2009 04:15PM

Re: PHP_SELF not set

vesperto September 11, 2009 04:52PM

Re: PHP_SELF not set

durist September 11, 2009 05:13PM

Re: PHP_SELF not set

vesperto September 11, 2009 05:40PM

Re: PHP_SELF not set

durist September 11, 2009 06:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 61
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