Using relative path in PHP.INI doc_root -- getting No Input File Specified -- running as fastCGI

Posted by J.R. on Server Fault See other posts from Server Fault or by J.R.
Published on 2012-03-21T22:26:04Z Indexed on 2012/03/21 23:32 UTC
Read the original article Hit count: 170

Filed under:
|
|
|
|

I'm attempting to run php-cgi under LightTPD on Windows with my doc_root set to one directory up (doc_root = "../Docs") -- however, I get "No input file specified".

I've set cgi.fix_pathinfo, and all the other tricks I could find with no success.

If I set doc_root to an absolute path, it works fine.

How can I make this work? If any additional information is required, I'll gladly provide it.

Thanks in advance.

© Server Fault or respective owner

Related posts about Windows

Related posts about php