#43945 [NEW]: wrong directory in require_once or file_exists calls
| From: | sysdev at gmx dot net | Date: | Sat, 26 Jan 2008 12:43:41 +0000 |
| Subject: | #43945 [NEW]: wrong directory in require_once or file_exists calls | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-121572@lists.php.net to get a copy of this message | ||
From: sysdev at gmx dot net
Operating system: Windows Server 2003
PHP version: 5.2.5
PHP Bug Type: IIS related
Bug description: wrong directory in require_once or file_exists calls
Description:
------------
I have currently 3 virtual websites on my IIS 6 Box using the PHP5 SAPI
(php5isapi.dll). Calls to require_once and file_exists (and maybe other
functions) randomly succeed or fail.
I tracked down the problem by monitoring file access with FileMon and
found that PHP tries to locate the files in the wrong directories: A call
to require_once in Web1 for example results in a search for the file in the
working directory of Web2.
--
Edit bug report at http://bugs.php.net/?id=43945&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43945&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43945&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43945&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43945&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43945&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=43945&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43945&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43945&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43945&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43945&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43945&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=43945&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=43945&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43945&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43945&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43945&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43945&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43945&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43945&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43945&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43945&r=mysqlcfg