From:             cdragon at draconic dot com
Operating system: windows 2000
PHP version:      5.0.0b2 (beta2)
PHP Bug Type:     IIS related
Bug description:  "No input file specified." with doc_root set to a path prefix

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 bug report at http://bugs.php.net/?id=26745&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26745&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26745&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26745&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26745&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26745&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26745&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26745&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26745&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26745&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26745&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26745&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26745&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26745&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26745&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26745&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26745&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26745&r=float

Reply via email to