No input file specified.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kevininaz
    New Member
    • Jul 2007
    • 2

    No input file specified.

    I have a windows 2000 server box, and I have installed PHP 5.2.3 and
    MySQL 5 on it. I am running PHP in ISAPI mode, and I can get PHP to run when the PHP file is directly in c:\inetpub\wwwr oot, e.g PHPinfo runs fine, when it's inside a file at the root level. However when I try to run it in a Virtual directory, i.e., anywhere else except the root of the werbserver, it keeps giving me the "No Input File Specified" error, withour any elaboration. I have commented out the "doc_root" in PHP.ini and have also turned on error reporting, also in PHP.ini, in addition to embedding the

    error_reporting (E_ALL);
    ini_set('displa y_errors', True);

    code in the page suggested in the forum. Can you suggest anything else?
  • mwasif
    Recognized Expert Contributor
    • Jul 2006
    • 802

    #2
    Did you allow script execution in Virtual directory?

    Comment

    • kevininaz
      New Member
      • Jul 2007
      • 2

      #3
      Originally posted by mwasif
      Did you allow script execution in Virtual directory?

      Yes the Permission is set to "Scripts Only"

      Comment

      • kovik
        Recognized Expert Top Contributor
        • Jun 2007
        • 1044

        #4
        On a local server, "No input file specified" means that you have provided an invalid URI, and the file you are looking for doesn't exist, not that it cannot be ran. The issue is either in the URI you are providing, the location of your files, or the directory you have set as your root.

        Comment

        Working...