Why do I keep getting Missing a temporary folder?

I’m new to WordPress but I kept getting an access error for every file I uploaded. I searched and found out that this was because I did not have permissions on the temporary directory and it was suggested that I changed permissions on that directory. I did that but now I get a “missing a temporary folder” error whenever I try to upload any file. I am using Windows Server 2012 IIS 6.

This is my php.ini code on the upload_tmp_dir variable:

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
; http://php.net/upload-tmp-dir
upload_tmp_dir = C:WindowsTemp

Related posts