ID: 28772 Comment by: jay3963109 at yahoo dot com Reported By: pieter at amazed dot nl Status: Bogus Bug Type: iPlanet related Operating System: win nt 4 PHP Version: 4.3.7 New Comment:
For php5 + windows + IIS5, the documentation optionally recommends setting doc_root = C:\inetpub in the php.ini file. I tried this but got the "no input file specified" error. I fixed it on my machine by setting doc_root = C:\inetpub\wwwroot (or to whichever local path that I use for a home directory in my IIS settings). Maybe this happens to other web servers also -- try making sure that doc_root in php.ini matches the mapped home directory of your web server. [Don't forget to restart the web server after changing the php.ini file.] Previous Comments: ------------------------------------------------------------------------ [2004-08-21 00:12:16] flyfishMT69 at hotmail dot com Same problem with PHP5.01, IIS5.1 ------------------------------------------------------------------------ [2004-08-12 06:40:51] mike at hotmail dot com I'm having the same error with php5 and iis6. I've tried <?php phpinfo(); ?> and echo"hello world"; - i get this: No input file specified. ------------------------------------------------------------------------ [2004-06-29 18:57:40] [EMAIL PROTECTED] No bug -> bogus ------------------------------------------------------------------------ [2004-06-29 18:10:37] pieter at amazed dot nl Hai there it is not a bug in the first place it is a bug in the webpublishing part of the server eg 3.63 I removed webpublishing function agent of then occurred the following: http server would not start i looked into the event viewer got this message: cannot find function: agent_name_trans because with webpublishing on agents are on but with webpublishing off agents go off too! andwhat i not could find before i found in obj.conf agent_name_trans still in obj conf so I removed it first made a copy of obj.conf orig and edited the thing. removed restarted the server when something wrong in obj.conf server never starts! reloaded the file in servermanager and applied it test.php in browser and voila works!!! cheers Pieter ------------------------------------------------------------------------ [2004-06-29 18:05:40] pieter at amazed dot nl Hai ther it is not a bug in the first place it is a bug in the webpublishing part of the server eg 3.63 I removed webpublishing function agent of then occurred the following: http server would not start i looked into the event viewer got this message: cannot find function: agent_name_trans because with webpublishing on agents are on but with webpublishing off agents go off too! andwhat i not could find before i found in obj.conf agent_name_trans still in obj conf so I removed it first made a copy of obj.conf orig and edited the thing. removed restarted the server when something wrong in obj.conf server never starts! reloaded the file in servermanager and applied it test.php in browser and voila works!!! eg you should never use webpublishing because of severe attack problems and the server crashes this was another problem i had with this thing saw this morning in eventviewer an attacker coming up with posts and finally with PROPFIND this time the server won from this attacker found his adress and will attack this one legaly cheers Pieter ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/28772 -- Edit this bug report at http://bugs.php.net/?id=28772&edit=1