Troubleshooting PHP on Windows
Check Temp Directory Permissions
-
Right-click temp directory in File Explorer to get the permissions.
-
For IIS, check that user IIS_User has MODIFY permission. You can get the temporary directory from the configuration or php info.