ID: 48880 Comment by: server at grow-werbeagentur dot de Reported By: brwarner at rogers dot com Status: Feedback Bug Type: Safe Mode/open_basedir Operating System: * PHP Version: 5.3.0 New Comment:
Confirm this Bug. Still persists with 200907251430 went back to 5.2.10 now, cause this is very anyoing.. The weird thing though is, that I tested the 5.3.0 release on our dev server first with no errors at all but when installing it on our production servers, which are configured exactly the same as our dev, I get this random open_basedir error.. weird.. Previous Comments: ------------------------------------------------------------------------ [2009-07-22 16:19:47] hristozov at gmail dot com The problem persists with 200907221430. ------------------------------------------------------------------------ [2009-07-22 14:56:39] rs at qcm dot cz Still no go. Tested with snapshot php5.3-200907221230. ------------------------------------------------------------------------ [2009-07-21 13:32:43] j...@php.net Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2009-07-20 18:32:28] hristozov at gmail dot com The same problem - Apache 2.2.11 and PHP 5.3.0 on Linux 2.6.29. The configure options: './configure' \ '--with-apxs2=/www/bin/apxs' \ '--enable-mbstring' \ '--with-gd' \ '--enable-exif' \ '--with-mysql' \ '--with-zlib-dir=/usr/include' \ '--with-jpeg-dir=/usr/lib' \ '--with-freetype-dir=/usr/include' \ '--with-gettext=/usr/bin' \ '--with-curl' \ '--disable-cgi' \ The actual error: [Mon Jul 20 21:25:51 2009] [error] [client x.x.x.x] PHP Warning: Unknown: open_basedir restriction in effect. File(/path/to/blog/index.php) is not within the allowed path(s): (\xd4\xba-\b\xd4\xba-\b<\xf6\x93\b) in Unknown on line 0 [Mon Jul 20 21:25:51 2009] [error] [client x.x.x.x] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0 [Mon Jul 20 21:25:51 2009] [error] [client x.x.x.x] PHP Fatal error: Unknown: Failed opening required '/path/to/blog/index.php' (include_path='.:/usr/local/lib/php') in Unknown on line 0 And the fragment from the Apache config: php_flag engine on php_value open_basedir "/path/to/blog/:/tmp" ------------------------------------------------------------------------ [2009-07-19 22:10:17] ninzya at inbox dot lv Just hit this one on Windows XP. [20-Jul-2009 01:07:54] PHP Warning: Unknown: open_basedir restriction in effect. File(D:\\...\\auth.php) is not within the allowed path(s): (˜"ט"×\\(g) in Unknown on line 0 [20-Jul-2009 01:07:54] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0 [20-Jul-2009 01:07:54] PHP Fatal error: Unknown: Failed opening required \'D:\\...\\auth.php\' (include_path=\'.;C:\\php5\\pear\') in Unknown on line 0 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/48880 -- Edit this bug report at http://bugs.php.net/?id=48880&edit=1