Jump to content

No input file specified error.


bigb89

Recommended Posts

Hi, I have PHP 5 installed with IIS 6. Currently there is only one website that's using PHP at the moment, so I went ahead and enabled PHP for another website, but whenever I try to access this new website that's using PHP, I get a message saying "No input file specified." I don't know what could be causing this error, I tried doing a Google search and I found that there are a lot of people getting this same error message but I could not find any solution for it. Does anyone know how to solve this error?

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

It's not my PHP code that's causing this error. The error occurs when I use any file with the extension .php as my index page. I read somewhere that this error could be solved by removing "doc_root =" out of my php.ini file. I tried that but I still get the same error message.

I figured out that PHP wasn't working properly on the new website because I didn't set the right permissions on it. After doing that, the new website is working just fine with PHP. I'm used to using PHP with Apache, so it was a little more confusing when configuring it to work with IIS 6.

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.