ID: 44972 Updated by: [EMAIL PROTECTED] Reported By: timtowdi at yahoo dot com Status: Open Bug Type: Feature/Change Request Operating System: FreeBSD PHP Version: 5.2.6 New Comment:
One is already possible: http://www.php.net/manua/en/ini.core.php#ini.upload-tmp-dir About the temp directory, you will have to teach your ISP how to configure php correctly. Not having the tmp dir in the open_basedir lists (and having only one global tmp dir instead of per user) is so wrong. However a temp_dir ini setting (settable per vhost) would be nice. Let see what's the other say (I'm not a fan of ENV variables ;). Previous Comments: ------------------------------------------------------------------------ [2008-05-12 15:30:47] timtowdi at yahoo dot com Description: ------------ On a server with open_basedir in effect, sys_get_temp_dir() still uses the default TMPDIR environment variable (which in this case is '/tmp'). This effectively renders sys_get_temp_dir useless for me, and there is no way to override it. It would be EXTREMELY useful to be able to set the default temp directory from an ini directive, such as the session temp dir and the uploaded files temp dir. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44972&edit=1
