PHP ignores upload_tmp_dir?
Posted
by
Matthias Vance
on Server Fault
See other posts from Server Fault
or by Matthias Vance
Published on 2010-03-31T09:54:36Z
Indexed on
2012/09/02
3:40 UTC
Read the original article
Hit count: 601
LS,
I am using IIS7 with PHP (FastCGI).
I set up the upload_tmp_dir to "X:\Temp" instead of leaving it empty, but it's still using "C:\Windows\Temp" for some reason.
I did give the following users full rights : NETWORK SERVICE, (application pool user), IIS_IUSRS. I also restarted IIS after I made the change.
I tried to create a directory inside the correct temp path using PHP, and that did work, so it's not a security issue.
Kind regards,
Matthias Vance
© Server Fault or respective owner