From: [EMAIL PROTECTED]
Operating system: FreeBSD 4.4
PHP version: 4.1.1
PHP Bug Type: HTTP related
Bug description: no way to upload to a virtual domain
using phpMyAdmin to upload a SQL query file, Apache reports the following
error:
***********************************************************
Warning: open_basedir restriction in effect. File is in wrong directory in
/usr/local/psa/home/vhosts/bogus.org/httpdocs/sql/read_dump.php on line
220
Warning:
fopen("/usr/local/psa/home/vhosts/anotherone.com/httpdocs/_php_upload_tmp/php66Xwh8",
"r") - Operation not permitted in
/usr/local/psa/home/vhosts/bogus.org/httpdocs/sql/read_dump.php on line
220
Warning: Supplied argument is not a valid File-Handle resource in
/usr/local/psa/home/vhosts/bogus.org/httpdocs/sql/read_dump.php on line
220
**********************************************************
Please notice that Apache is referring to two different virtual domains,
"bogus.org" and "anotherone.com" !!!
I was uploading to bogus.org and Apache reported trying to fopen on
anotherone.com!!
Is it impossible to perform uploads on a server that hosts virtual
domains? It shouldnt, should it....
--
Edit bug report at: http://bugs.php.net/?id=15334&edit=1
Fixed in CVS: http://bugs.php.net/fix.php?id=15334&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15334&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15334&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15334&r=oldversion
Not for support: http://bugs.php.net/fix.php?id=15334&r=support
Not wrong behavior: http://bugs.php.net/fix.php?id=15334&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15334&r=notenoughinfo
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]