#42825 [Fbk->Opn]: upload_tmp_dir wrong with authentication on
| From: | christopher dot graham at digforfire dot co dot uk | Date: | Tue, 02 Oct 2007 11:57:50 +0000 |
| Subject: | #42825 [Fbk->Opn]: upload_tmp_dir wrong with authentication on | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-118086@lists.php.net to get a copy of this message | ||
ID: 42825
User updated by: christopher dot graham at digforfire dot co dot uk
Reported By: christopher dot graham at digforfire dot co dot uk
-Status: Feedback
+Status: Open
-Bug Type: IIS related
+Bug Type: CGI related
Operating System: Windows Server 2003
PHP Version: 5.2.4
New Comment:
It's a standard CGI install of the latest PHP maintenance release, on
IIS (Windows Server 2003).
The authentication involved on this domain is standard IIS installation
that happens when 'Anonymous Access' is turned off (i.e. you log in, via
HTTPauth, using the credentials of a valid system user - PHP then runs
as that user).
Previous Comments:
------------------------------------------------------------------------
[2007-10-02 11:17:32] jani@php.net
You give very little info how you've setup PHP but I'm guessing it's
under IIS as CGI (or FastCGI?) ? If it's CGI/FastCGI, plase change the
category accordingly. The "IIS Related" is for the ISAPI SAPI.
------------------------------------------------------------------------
[2007-10-02 09:46:56] christopher dot graham at digforfire dot co dot
uk
Description:
------------
If we turn off 'Anonymous Access' for a domain on IIS (so we have to
log in via HTTP-auth), we find that file uploads are saved under a path
other than what upload_tmp_dir specifies.
This is likely somehow related to how the CGI process will be executed
under a different username to usual.
phpinfo returns the correct upload_tmp_dir even though the tmp files
are not actually put there; I tested this on the same page request as
seeing the tmp path as being incorrect.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42825&edit=1