Jump to content

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.

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.