#19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
From: zen at heavengames dot com Date: Wed, 28 May 2003 15:02:35 +0000 Subject: #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-40589@lists.php.net to get a copy of this message
ID: 19292
Comment by: zen at heavengames dot com
Reported By: tnowak at triger dot com dot pl
Status: Closed
Bug Type: Apache related
Operating System: linux
PHP Version: 4.3.0
New Comment:
That fix works. Thanks!
Previous Comments:
------------------------------------------------------------------------
[2003-05-23 21:36:35] zen at heavengames dot com
I'll give that a try and see what happens. Will report back after this
weekend.
------------------------------------------------------------------------
[2003-05-23 10:29:18] philip@php.net
So if one sets open_basedir in one vhost, one must set it in every
vhost, as none or otherwise?
------------------------------------------------------------------------
[2003-05-23 10:14:23] sniper@php.net
In the other vhost, set open_basedir to none
------------------------------------------------------------------------
[2003-05-23 10:03:57] zen at heavengames dot com
Tried it with PHP4.3.2RC4. Problem still persists:
[23-May-2003 11:00:05] PHP Warning: Unknown(): open_basedir
restriction in effect.
File(/usr/www/heavend1/httpd/htdocs/zen/gallery/view_album.php) is not
within the allowed path(s):
(/usr/www/heavend1/httpd/htdocs/wildfire/:/usr/www/heavend1/httpd/.php/)
in Unknown on line 0
[23-May-2003 11:00:05] PHP Warning:
Unknown(/usr/www/heavend1/httpd/htdocs/zen/gallery/view_album.php):
failed to open stream: Operation not permitted in Unknown on line 0
[23-May-2003 11:00:05] PHP Warning: (null)(): Failed opening
'/usr/www/heavend1/httpd/htdocs/zen/gallery/view_album.php' for
inclusion (include_path='.:/usr/www/heavend1/php') in Unknown on line
0
---
httpd.conf configuration:
<Directory /usr/www/heavend1/httpd/htdocs/wildfire>
php_admin_flag safe_mode On
php_admin_value doc_root /usr/www/heavend1/httpd/htdocs/wildfire/
php_admin_value open_basedir
/usr/www/heavend1/httpd/htdocs/wildfire/:/usr/www/heavend1/httpd/.php/
php_admin_value error_log
/usr/www/heavend1/httpd/logs/wildfire/php_error
php_flag display_errors On
php_admin_flag register_globals Off
</Directory>
<Directory /usr/www/heavend1/httpd/htdocs/zen>
php_admin_flag safe_mode Off
php_admin_value doc_root /usr/www/heavend1/httpd/htdocs/zen
php_admin_value error_log
/usr/www/heavend1/httpd/logs/zen/php_error_log
php_flag display_errors Off
php_admin_flag register_globals Off
</Directory>
------------------------------------------------------------------------
[2003-05-23 09:57:42] sniper@php.net
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
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/19292
--
Edit this bug report at http://bugs.php.net/?id=19292&edit=1
Thread (107 messages)
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Opn->Ctl]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Ctl->Fbk]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Fbk->Ctl]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Ctl->Fbk]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Fbk->Opn]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Opn->Csd]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Csd->Opn]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Opn->Fbk]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Fbk->Ctl]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Ctl]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Ctl->Ver]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Ver->Ctl]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Ctl]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Ctl]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Ctl]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Ctl->Fbk]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Fbk]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Fbk]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Fbk->Opn]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Opn->Ctl]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Ctl]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Ctl->Fbk]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Fbk]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Fbk]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Fbk->NoF]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [NoF->Fbk]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Fbk->Csd]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Csd]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Csd]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Csd->Opn]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Opn->Csd]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Csd->Bgs]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Bgs]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
- #19292 [Bgs->Csd]: random error: open_basedir restriction in effect. File is in wrong directory
| « previous | php.bugs (#40589) | next » |
|---|