#27603 [Opn->Fbk]: incorrect appying open_basedir
| From: | sniper@php.net | Date: | Mon, 15 Mar 2004 18:39:37 +0000 |
| Subject: | #27603 [Opn->Fbk]: incorrect appying open_basedir | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-56514@lists.php.net to get a copy of this message | ||
ID: 27603
Updated by: sniper@php.net
Reported By: pk at nodex dot ru
-Status: Open
+Status: Feedback
Bug Type: *General Issues
Operating System: Solaris 9
PHP Version: 4.3.5RC4-dev
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2004-03-15 12:12:13] pk at nodex dot ru
Now i`m using lastest snapshot.
------------------------------------------------------------------------
[2004-03-15 12:08:52] pk at nodex dot ru
Sorry, but bug is not fixed.
[15-Mar-2004 20:09:02] PHP Warning: main(): open_basedir restriction
in effect. File(/includes/header.php) is not within the allowed p
ath(s): (/usr/hosting/johnpp) in
/usr/hosting/autod/html/apedia/law/15.php on line 4
[15-Mar-2004 20:09:02] PHP Warning: main(/includes/header.php): failed
to open stream: Not owner in /usr/hosting/autod/html/apedia/law
/15.php on line 4
[15-Mar-2004 20:09:02] PHP Fatal error: main(): Failed opening
required '/includes/header.php'
(include_path='/usr/hosting/jafi/html/i
nc') in /usr/hosting/autod/html/apedia/law/15.php on line 4
No i`m using lastest snapshot.
And this bug return again.
------------------------------------------------------------------------
[2004-03-15 07:38:46] sniper@php.net
This bug has been fixed in CVS.
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/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2004-03-15 07:37:26] pk at nodex dot ru
Description:
------------
I have apache 1.3.27 with php 4.3.5RC3.
Trouble with incorrect applying of open_basedir on one apache child and
some virtual hosts.
>[15-Mar-2004 15:09:20] PHP Warning: main(): open_basedir restriction
in effect.
File(/usr/hosting/autod/html/price/includes/db_part/main.php) is not
within the allowed path(s): (/usr/hosting/true)
in /usr/hosting/autod/html/price/db_part.php on line 67
[15-Mar-2004 15:10:59] PHP Warning: Unknown(): open_basedir
restriction in effect. File(/usr/hosting/autod/html/apedia/law/2-4.php)
is
not within the allowed path(s): (/usr/hosting/johnpp) in Unknown on
line 0
[15-Mar-2004 15:10:59] PHP Warning:
Unknown(/usr/hosting/autod/html/apedia/law/2-4.php): failed to open
stream: Not owner in Unknown on line 0
[15-Mar-2004 15:10:59] PHP Warning: (null)(): Failed opening
'/usr/hosting/autod/html/apedia/law/2-4.php' for inclusion
(include_path='/usr/hosting/nedug_unix/apteka/lib/php-lib:/usr/hosting/nedug_unix/apteka/include')
in Unknown on line 0
That vhost have open_basedir - /usr/hosting/autod
And i have other vhosts with open_basedirs - /usr/hosting/%username%
I think open_basedir is inheriting after previons request to another
vhost.
PHP 4.2.3 not have that bug.
I tryed to use all versions 4.3.0 - 4.3.5RC3, all of this versions have
that bug
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27603&edit=1