Error loading PHP inheritance file using Windows IIS Server

My colleague uploaded files via PHP hosted on Windows Server 2008 IIS 7, but she had a problem with the download, although the corresponding rights to the download folder are granted to the IIS_USRS group. It turns out the downloaded files are not!

+4
source share
1 answer

In the hope that this might help someone else, I researched and found a solution here:

http://www.howyoudo.info/index.php/how-to-fix-windows-server-upload-file-inherit-permissions-error/

In short, change the permissions of the upload_tmp_dir folder (path in the php.ini file) according to the permissions of your web application folder.

If you cannot or do not want to change permissions in the temp folder (by default, this is the system’s temporary folder). Then create a new temporary folder and set the required permission for it. Then update the PHP INI upload_tmp_dir value to point to this directory.

+7
source

Source: https://habr.com/ru/post/1438461/


All Articles