ID:               39113
 User updated by:  manuel at mausz dot at
 Reported By:      manuel at mausz dot at
 Status:           Open
-Bug Type:         Feature/Change Request
+Bug Type:         *Web Server problem
 Operating System: Linux
 PHP Version:      4.4.4
 New Comment:

Same problem for tmpfile() which also has no temp-dir argument.

So the only way to solve this is either define P_tmpdir or set TMPDIR
in environment?


Previous Comments:
------------------------------------------------------------------------

[2006-10-11 11:28:12] manuel at mausz dot at

Hmm. Any ideas/comments on this?

------------------------------------------------------------------------

[2006-10-10 12:43:19] manuel at mausz dot at

Description:
------------
Regarding http://bugs.php.net/bug.php?id=38963.

Many php functions (e.g. ftp_nlist) require the creation of a temporary
file. As there is no ini setting for a temp-directory, php tries to use
TMPDIR from environment or falls back to P_tmpdir and /tmp. In most web
setups /tmp isn't included in open_basedir and P_tmpdir not even
defined. Thus such functions fails.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39113&edit=1

Reply via email to