ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-Dev
php-Dev
#27603 [NEW]: incorrect appying open_basedir
by pk at nodex dot ru other posts by this author
Mar 15 2004 12:37PM messages near this date
#27548 [Fbk->NoF]: Php crashes when i want to store more then 1 var in $this->menu | #27603 [Com]: incorrect appying open_basedir
From:             pk at nodex dot ru
Operating system: Solaris 9
PHP version:      4.3.5RC3
PHP Bug Type:     Apache related
Bug description:  incorrect appying open_basedir

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/inc
lude')
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 bug report at http://bugs.php.net/?id=27603&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27603&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27603&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27603&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27603&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27603&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27603&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27603&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27603&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27603&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27603&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27603&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27603&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27603&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27603&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27603&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27603&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27603&r=float
Thread:
pk at nodex dot ru
dyan at godsasleep dot nl
russell at flora dot ca
vaplu at webziek dot nl


mak123 at poczta dot onet dot pl
pk at nodex dot ru

pk at nodex dot ru

pk at nodex dot ru
pk at nodex dot ru


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved