From:             viktors at rotanovs dot com
Operating system: Linux
PHP version:      4.3.5RC3
PHP Bug Type:     Filesystem function related
Bug description:  open_basedir + tempnam, move_uploaded_file and copy problems

Description:
------------
I get the following message when using tempnam() function:



tempnam(): open_basedir restriction in effect. File(/opt/tmp/php) is not
within the allowed path(s):
(/www:/opt/php/lib/php:/opt/tmp/uploads:/etc/usermap:/opt/tmp/php) in
/www/foto.inbox.lv/util.php on line 1492



Note that /opt/tmp/php _is_ within a list of allowed paths. Similar errors
with copy() and move_uploaded_file().


-- 
Edit bug report at http://bugs.php.net/?id=27559&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27559&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27559&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27559&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27559&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27559&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27559&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27559&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27559&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27559&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27559&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27559&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27559&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27559&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27559&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27559&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27559&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27559&r=float

Reply via email to