#49229 [Fbk->Csd]: open_basedir string gets modified...
| From: | glenn dot larsen at gmail dot com | Date: | Wed, 12 Aug 2009 13:18:17 +0000 |
| Subject: | #49229 [Fbk->Csd]: open_basedir string gets modified... | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-140978@lists.php.net to get a copy of this message | ||
ID: 49229
User updated by: glenn dot larsen at gmail dot com
Reported By: glenn dot larsen at gmail dot com
-Status: Feedback
+Status: Closed
Bug Type: Safe Mode/open_basedir
Operating System: RHEL 5.3
PHP Version: 5.3.0
New Comment:
Scott is right, its a duplicate of the bug #48880.. Sorry guys
Previous Comments:
------------------------------------------------------------------------
[2009-08-12 07:22:06] scottmac@php.net
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Pretty sure this is a duplicate of bug #48880
------------------------------------------------------------------------
[2009-08-12 02:51:19] glenn dot larsen at gmail dot com
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 this bug report at http://bugs.php.net/?id=49229&edit=1