DavidLozzi Posted August 14, 2009 Share Posted August 14, 2009 Howdy, I've installed PHP on my Win2k3 IIS6 server. If I remember correctly, I got this working on one of the web sites on the server, but I forget which one. Well, one of my customers now wants to use php. The test url is http://www.concoat.com/test.php and the contents of the file is <html> <head> <title>PHP Test</title> </head> <body> <?php echo '<p>Hello World</p>'; ?> </body> </html> but when I browse to the file I get No input file specified. The file is there!! Help!! Thanks, Quote Link to comment Share on other sites More sharing options...
corbin Posted August 15, 2009 Share Posted August 15, 2009 Sounds to me like you have PHP set up in CGI mode (CGI mode is super slow compared to FastCGI or as an Apache module) and it's configured incorrectly. php.exe [filename] is the format, and if you only run PHP, it goes like this: F:\Users\Corbin Hughes\Desktop>php-cgi DoesNotExist Status: 404 Not Found Content-type: text/html No input file specified. Quote Link to comment Share on other sites More sharing options...
DavidLozzi Posted August 17, 2009 Author Share Posted August 17, 2009 How would one run it not in cgi mode? Quote Link to comment Share on other sites More sharing options...
corbin Posted August 17, 2009 Share Posted August 17, 2009 If I remember correctly, you must run it in CGI mode under IIS6. Quote Link to comment Share on other sites More sharing options...
DavidLozzi Posted August 21, 2009 Author Share Posted August 21, 2009 So I'm not sure what to do from here.... help? Quote Link to comment Share on other sites More sharing options...
corbin Posted August 22, 2009 Share Posted August 22, 2009 I'm not very knowledgeable in regards to IIS 6 and PHP x.x. I would imagine PHP is misconfigured somehow.. Not sure exactly how though. Probably something to do with where you say php.exe is the executable and you tell IIS how to pass the file name to it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.