Www.2cto.com: In a word, the Temporary Folder permission is insufficient. Add the Temporary Folder write permission to the anonymous web account or group.
I just installed php in IIS. After the installation is complete, the test is displayed on the page, but the following error occurs at the bottom of the page:
Warning: Unknown: open (C: \ WINDOWS \ TEMP \ sess_e8digff7draam519u52941s7u7, O_RDWR) failed: Permission denied (13) in Unknown on line 0
Then I went online to Baidu. I only had one or two answers, all of which were about folder permissions, but the solution was too complicated. I 'd like to share my approach below.
First Open C: \ WINDOWS, because the prompt is C: \ WINDOWS \ TEMP \ This folder does not have the write permission, then we find the TEMP folder right-click -- "properties --" security, as shown in
In this case, we can add two IIS accounts and grant the write permission
Once again, haha, it's normal. Of course, you can also create a temporary directory on your own, but configuring the php. ini file is troublesome, and other problems may also occur if the configuration is not good.