#28772 [Com]: No input file specified.

From: Date: Mon, 27 Sep 2004 09:23:20 +0000
Subject: #28772 [Com]: No input file specified.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-66752@lists.php.net to get a copy of this message
ID: 28772 Comment by: j dot celle at laposte dot net 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: Setting the doc_root cannot be a solution as there can be (and usually 'there are') more than one directory hoding many virtual servers on the same machine. Previous Comments: ------------------------------------------------------------------------ [2004-08-29 07:44:59] jay3963109 at yahoo dot com 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.] ------------------------------------------------------------------------ [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] derick@php.net 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 ------------------------------------------------------------------------ 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

« previous php.bugs (#66752) next »