From: brwarner at rogers dot com Operating system: Windows Server 2003 PHP version: 5.3.0 PHP Bug Type: Safe Mode/open_basedir Bug description: Random Appearing open_basedir problem
Description: ------------ I recently upgraded from PHP 5.2.10 to 5.3.0 and have experienced an error that seems to randomly appear and disappear. When I go to my page its fine but every once and a while (gotten faster by simply constantly refreshing) this error occurs (when visiting http://brwarner.co.cc): Warning: Unknown: open_basedir restriction in effect. File(C:\www\brwarner.co.cc\index.php) is not within the allowed path(s): (`ºww\t) in Unknown on line 0 Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0 Fatal error: Unknown: Failed opening required 'C:/www/brwarner.co.cc/index.php' (include_path='.;C:\Program Files\PHP\pear;C:\www\phpMyAdmin') in Unknown on line 0 But after another refresh it is gone until it appears again at random. Even if it only happens every once in a while I would like to fix it so that people visiting the site do not think it is broken. I currently have safe_mode off and have open_basedir set on a per virtual host basis using php_admin_value -- Edit bug report at http://bugs.php.net/?id=48880&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48880&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48880&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48880&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48880&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48880&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48880&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48880&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48880&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48880&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48880&r=support Expected behavior: http://bugs.php.net/fix.php?id=48880&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48880&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48880&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48880&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48880&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48880&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48880&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48880&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48880&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48880&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48880&r=mysqlcfg