vesperto Wrote: ------------------------------------------------------- > > I can make cacti work by replacing all > references to PHP_SELF with REQUEST_URI, but > that's not a very maintainable solution. > > I have PHP_SELF in some parts of some sites (none > i can find right > now...), anyway, i tried a simple > <?php echo $_SERVER['PHP_SELF'] ?> >by durist - Nginx Mailing List - English
vesperto Wrote: > The latest stable version is 7.6.1, you could try > compiling from > source. What's Ubuntu's default fastcgi_params > file? Here are a few on > mine: > > fastcgi_param SCRIPT_NAME > $fastcgi_script_name; > fastcgi_param DOCUMENT_URI $document_uri; > > Are those on yours? I've commented out > fastcgi_param DOCUMENby durist - Nginx Mailing List - English
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 wby durist - Nginx Mailing List - English