Jump to content

No input file specified.


Recommended Posts

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,

 

 

Link to comment
https://forums.phpfreaks.com/topic/170307-no-input-file-specified/
Share on other sites

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.