ID: 49229 Updated by: scott...@php.net Reported By: glenn dot larsen at gmail dot com -Status: Closed +Status: Bogus Bug Type: Safe Mode/open_basedir Operating System: RHEL 5.3 PHP Version: 5.3.0
Previous Comments: ------------------------------------------------------------------------ [2009-08-12 13:18:16] glenn dot larsen at gmail dot com Scott is right, its a duplicate of the bug #48880.. Sorry guys ------------------------------------------------------------------------ [2009-08-12 07:22:06] scott...@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