ID:               49229
 Updated by:       scott...@php.net
 Reported By:      glenn dot larsen at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Safe Mode/open_basedir
 Operating System: RHEL 5.3
 PHP Version:      5.3.0
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to