#26745 [Opn->Fbk]: "No input file specified." with doc_root set to a path prefix
| From: | sniper@php.net | Date: | Mon, 19 Jan 2004 04:04:28 +0000 |
| Subject: | #26745 [Opn->Fbk]: "No input file specified." with doc_root set to a path prefix | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-53555@lists.php.net to get a copy of this message | ||
ID: 26745
Updated by: sniper@php.net
Reported By: cdragon at draconic dot com
-Status: Open
+Status: Feedback
Bug Type: IIS related
Operating System: windows 2000
PHP Version: 5.0.0b3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2003-12-30 00:46:30] cdragon at draconic dot com
Description:
------------
I've been setting up a development server with the exact same
configuration as a live server. Instead of using php 4.3.x I decided
to try 5b3. I use the same php.ini file.
I have IIS set to host two web sites in the following two directories:
c:\inetpub\wwwroot\www.draconic.com
c:\inetpub\wwwroot\www.draconic.net
In php.ini, I have doc_root set to "c:\inetpub\wwwroot" so that files
in either of these directories can be loaded. Yet when I load any php
page from either site I get the error "No input file specified". I am
using IIS 5 under win2k using the ISAPI version of php 5b3.
I found that by changing doc_root from "c:\inetpub\wwwroot" to
"c:\inetpub\wwwroot\www.draconic.com", I can get the php pages to work
reliably for the first web site. However, this means I get the "No
input file specified" error when I try to load pages from
"c:\inetpub\wwwroot\www.draconic.net".
With doc_root set to "c:\inetpub\wwwroot" I get the "No input file
specified" most of the time, but I found it would occasionally load the
php page correctly (maybe that was a caching thing?), or even give me a
memory access violation when I tried to use the "include(...)"
statement! I can't figure out what was different when it worked or
when it access violationed, but something seems to be seriously broken
with doc_root in php 5b3.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26745&edit=1