#24886 [NEW]: PATH_TRANSLATED is wrong
| From: | lenar at city dot ee | Date: | Thu, 31 Jul 2003 16:05:32 +0000 |
| Subject: | #24886 [NEW]: PATH_TRANSLATED is wrong | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-45114@lists.php.net to get a copy of this message | ||
From: lenar at city dot ee
Operating system: debian/unstable
PHP version: 4.3.3RC2
PHP Bug Type: Apache related
Bug description: PATH_TRANSLATED is wrong
Description:
------------
in apache configuration where many virtual hosts are in
use, PATH_TRANSLATED doesn't always get set to correct
path.
Instead the value seems to reflect some other (older)
request. Possibly the value is correct only if brand new
apache child serves the request.
The value in $_SERVER array is always correct.
Current workaround: add extract($_SERVER, EXTR_OVERWRITE);
to your auto-prepend php file.
--
Edit bug report at http://bugs.php.net/?id=24886&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24886&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24886&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24886&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24886&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24886&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24886&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24886&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24886&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24886&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24886&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24886&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24886&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24886&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24886&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24886&r=gnused