ID:               42825
 Updated by:       [EMAIL PROTECTED]
 Reported By:      christopher dot graham at digforfire dot co dot uk
-Status:           Open
+Status:           Feedback
 Bug Type:         CGI related
 Operating System: Windows Server 2003
 PHP Version:      5.2.4
 New Comment:

>This is likely somehow related to how the CGI process will be
>executed under a different username to usual.

So it's just a permissions issue, isn't it?

>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.

Well, if it can't put the files there because of wrong permissions,
what would you expect it to do?


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

[2007-10-02 11:57:49] christopher dot graham at digforfire dot co dot
uk

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).

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

[2007-10-02 11:17:32] [EMAIL PROTECTED]

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

Reply via email to