From: [EMAIL PROTECTED]
Operating system: FreeBSD 4.7
PHP version: 4.2.3
PHP Bug Type: Filesystem function related
Bug description: open_basedir - not working
I got this configuration for one of my vhosts in apache 1.3.27:
<VirtualHost *>
DocumentRoot /www/192.168.0.1
ServerName 192.168.0.1
ErrorLog /var/log/httpd/192.168.0.1-error_log
CustomLog /var/log/httpd/192.168.0.1-access_log common
php_value open_basedir /home/wwwroot/192.168.0.1/
</VirtualHost>
but when i go in on /home/wwwroot/192.168.0.1/index.php
with this script:
<?
include("/www/www.freshbsd.net/index.php");
?>
it will include the page anyway...
--
Edit bug report at http://bugs.php.net/?id=21320&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21320&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21320&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21320&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21320&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21320&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21320&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21320&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21320&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21320&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21320&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21320&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21320&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21320&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21320&r=gnused