#27321 [NEW]: open_basedir setting leaking between vhosts
| From: | jg at execulink dot com | Date: | Thu, 19 Feb 2004 18:57:04 +0000 |
| Subject: | #27321 [NEW]: open_basedir setting leaking between vhosts | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-55194@lists.php.net to get a copy of this message | ||
From: jg at execulink dot com
Operating system: Redhat Linux 7.3
PHP version: 4.3.5RC3
PHP Bug Type: Apache related
Bug description: open_basedir setting leaking between vhosts
Description:
------------
INI Settings, specificially open_basedir seems to be leaking between
apache virtualhost settings. Bug seems to be very similar to #25753, but
was not resolved for me in 4.3.5RC3.
e.g., One user - pookie's php fails with the following error: (pdipietro
is another user on the system, in another virtualhost).
I would really appreciate either a workaround, patch, or fix!
phpinfo(); PHP Version 4.3.5RC3
Warning: Unknown(): open_basedir restriction in effect.
File(/usr/ppp/p/pookie/public_html/index.php) is not within the allowed
path(s): (/usr/ppp/p/pdipietro) in Unknown on line 0
Warning: Unknown(/usr/ppp/p/pookie/public_html/index.php): failed to
open stream: Operation not permitted in Unknown on line 0
Warning: (null)(): Failed opening
'/usr/ppp/p/pookie/public_html/index.php' for inclusion
(include_path='.:/usr/share/pear') in Unknown on line 0
--
Edit bug report at http://bugs.php.net/?id=27321&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27321&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27321&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27321&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27321&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27321&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27321&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27321&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27321&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27321&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27321&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27321&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27321&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27321&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27321&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27321&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27321&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27321&r=float