#27559 [Opn->Fbk]: open_basedir + tempnam, move_uploaded_file and copy problems

From: Date: Thu, 11 Mar 2004 14:17:41 +0000
Subject: #27559 [Opn->Fbk]: open_basedir + tempnam, move_uploaded_file and copy problems
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-56303@lists.php.net to get a copy of this message
ID: 27559 Updated by: sniper@php.net Reported By: viktors at rotanovs dot com -Status: Open +Status: Feedback Bug Type: Filesystem function related Operating System: Linux PHP Version: 4.3.5RC3 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2004-03-10 21:08:19] viktors at rotanovs dot com 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 this bug report at http://bugs.php.net/?id=27559&edit=1

« previous php.bugs (#56303) next »