From: [EMAIL PROTECTED] Operating system: linux rh PHP version: 4.1.2 PHP Bug Type: Filesystem function related Bug description: unjustified open_basedir restriction on copy()
Hello, I've got a weird open_basedir restriction error on copy() of an uploaded file. This occurs with php4.1.2, after upgrading from the old 4.0.4pl1, which didn't have the problem. php.ini and apache configuration were unchanged. Virtual host settings: php_admin_value open_basedir /path/to/website/ php_admin_value upload_tmp_dir /path/to/website/temp I'm now getting an error when file is being copied from /path/to/website/temp/<phptempfile> to /path/to/website/somewhereelse/ Error label: Warning: open_basedir restriction in effect. File is in wrong directory in /path/to/website/somescript.phtml on line 1055 As copy-source, copy-destination and tmp folder are all within open_basedir, I really don't get the problem. Am I missing something? Please note that in my case, /path/to/website is a symbolic link to /mnt/mountpoint/to/website, but i had no more success by putting the "real" path into open_basedir section. Thanx, -- vedad -- Edit bug report at http://bugs.php.net/?id=15801&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15801&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15801&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15801&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15801&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15801&r=support Expected behavior: http://bugs.php.net/fix.php?id=15801&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15801&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15801&r=submittedtwice