#22101 [NEW]: Wrong behaviour of open_basedir restriction
| From: | cmouse at quakenet dot org | Date: | Fri, 07 Feb 2003 01:58:56 +0000 |
| Subject: | #22101 [NEW]: Wrong behaviour of open_basedir restriction | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-32344@lists.php.net to get a copy of this message | ||
From: cmouse@quakenet.org
Operating system: Debian linux 2.4.19
PHP version: 4.3.0
PHP Bug Type: Scripting Engine problem
Bug description: Wrong behaviour of open_basedir restriction
Warning: Unknown(): open_basedir restriction in effect.
File(/www/htdocs/phpSysInfo-2.1/index.php) is not within the allowed
path(s): (/) in Unknown on line 0
Warning: Unknown(/www/htdocs/phpSysInfo-2.1/index.php): failed to create
stream: Operation not permitted in Unknown on line 0
Warning: Unknown(): Failed opening '/www/htdocs/phpSysInfo-2.1/index.php'
for inclusion (include_path='.:/usr/lib/php') in Unknown on line 0
As you can see, /www is in my opinion, inside /, which is my open_basedir
for this particular file.
The Apache config for this directory:
<Directory "/www/htdocs/phpSysInfo-2.1">
php_admin_value open_basedir "/"
</Directory>
You can get the phpSysInfo-2.1 script yourselves, too long to paste here,
and it's not mine anyways.
--
Edit bug report at http://bugs.php.net/?id=22101&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22101&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22101&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22101&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22101&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22101&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22101&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22101&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22101&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22101&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22101&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22101&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22101&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22101&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22101&r=gnused