#49229 [NEW]: open_basedir string gets modified...
| From: | glenn dot larsen at gmail dot com | Date: | Wed, 12 Aug 2009 02:51:19 +0000 |
| Subject: | #49229 [NEW]: open_basedir string gets modified... | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-140943@lists.php.net to get a copy of this message | ||
From: glenn dot larsen at gmail dot com
Operating system: RHEL 5.3
PHP version: 5.3.0
PHP Bug Type: Safe Mode/open_basedir
Bug description: open_basedir string gets modified...
Description:
------------
After a restart of my web server (apache 2.2.3-22), everything is running
smoothly. However, after some request (10-30 - images counted),
open_basedir gets changed... and php stops serving content, since it thinks
the page its outside the allowed path...
from my /etc/php.ini
open_basedir = /data/customers/
this starts showing up in my log file, when php "stops" working;
[Wed Aug 12 04:38:58 2009] [error] [client xx.xx.xx.xx] PHP Warning:
Unknown: open_basedir restriction in effect.
File(/data/customers/XXXXXXXXXX/index.php) is not within the allowed
path(s): (\xd8\xa0\xd2\ba/customers/XXXXXXXXXX/) in Unknown on line 0
... as you probably see "/data/customers/" has been replaced with
"\xd8\xa0\xd2\ba/customers/"
Reproduce code:
---------------
-
Expected result:
----------------
-
Actual result:
--------------
-
--
Edit bug report at http://bugs.php.net/?id=49229&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49229&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49229&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49229&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49229&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49229&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49229&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49229&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49229&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49229&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49229&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49229&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49229&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49229&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49229&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49229&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49229&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49229&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49229&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49229&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49229&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49229&r=mysqlcfg