• I’m running version 4.22 of WP, and had installed via the IIS Web Platform Installer.

    The site works fine, except after putting in some plugins to make sure you login before viewing the site, we will get a 404 error and/or “No input file specified” on the FIRST visit to the site. If you hit ‘refresh’ then everything works normally. I think this means that everything is configured correctly (or it wouldn’t work at all), but the error is completely reproducible.

    So, I’ve done hours of tracking down various possible causes, but none of the apparent culprits seem to have fixed it:

    . I’ve found at least 3 ‘fixes’ but none of these work:

    ; commented out doc_root per:
    ; https://us2.php.net/install.windows
    ; doc_root =

    ; as well as changing this:
    ; **You CAN safely turn this off for IIS, in fact, you MUST.** ; https://php.net/cgi.force-redirect
    cgi.force_redirect = 0

    I restarted the World Wide Web publishing service from both IIS 7 and from the Services snapin, but we still get the error.

    Third fix; I also found this note, but it did not work!

    Another place to check is the Request Restrictions for the FastCGI Module Handler Mapping in IIS. You must check the box next to “Invoke handler only if request is mapped to:” and toggle on the “file” option. By default, when you setup the FastCGI Module to run as PHP, this option defaults to files and folders and so IIS thinks .php is a folder and tries to find a web.config file, which it doesn’t find and then spits out the hated “No input specified” message.

    From https://www.iis-aid.com/articles/trouble_shooting/no_input_file_specified?page=1

    Anyone have any ideas?

    == John ==

Viewing 1 replies (of 1 total)
  • This appears to be a very common problem on WordPress on IIS and like you, I’ve tried much the same as you. I had one system that just wouldn’t log on at all (very disconcerting) on new devices but the 4.6 upgrade seemed to help that. Except the client has just reported “No input” on Firefox trying to open an approval link from email – although opening the website and logging on via https://www.website.com/admin worked fine. So still not 100%. I even managed to logon to the admin screen through my 7″ Android tablet with 4.6 – never been able to do that before!

Viewing 1 replies (of 1 total)
  • The topic ‘No input file specified’ is closed to new replies.