Nginx with PHP on Windows

itpp2012 nginx-forum at
Mon Nov 10 08:32:33 UTC 2014

It makes no difference as this combo;

root   '/path/';
fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;

open_basedir = '/path/'
doc_root = '/path/'

Next to jailing, this boxes everything in.

With location /.../ '.php' you fine-tune where scripts live which may be

I'd leave cgi.force_redirect commented, ea. not set to anything at all.

Posted at Nginx Forum:,254701,254716#msg-254716

More information about the nginx mailing list