From:             jturner at paycomonline dot com
Operating system: Windows Server 2003
PHP version:      5.2.5
PHP Bug Type:     Filesystem function related
Bug description:  upload_tmp_dir directive in php.ini ignored for file uploads

Description:
------------
The upload_tmp_dir directive is set in the php.ini to
"C:\DOCUME~1\ADMINI~1.HQ-\LOCALS~1\Temp\php\upload" and shows up as such
when running phpinfo().  However, when I try to upload a file it fails, 
and print_r($_FILES) reports that "tmp_name" is set to
"C:\WINDOWS\TEMP\[filename]".  It appears that the directive is being
ignored in favor of the environment variable, which is contrary to the
documentation.  

PHP5.2.5/IIS6.0/Windows Server 2003

A search of the bug database turned up bug #39451 which appears to be
similar but was marked as fixed in 5.2.1RC3.


-- 
Edit bug report at http://bugs.php.net/?id=44420&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=44420&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=44420&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=44420&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=44420&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=44420&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=44420&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=44420&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=44420&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=44420&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=44420&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=44420&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=44420&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=44420&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=44420&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=44420&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=44420&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=44420&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=44420&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=44420&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=44420&r=mysqlcfg

Reply via email to