ZipArchive::close(): Failure to create temporary file: Permission denied nginx

假装没事ソ 提交于 2019-12-04 06:05:44

It seemed that the upload directory was pointing to was on the root folder. This folder has no external writing rights for security sake. After altering the storage folder to (symbolic link) .private/upload/ the error seemed to be fixed.

Maybe this can help someone else.

Had the same issue happen to me, for like 3 hours trying to resolve only to find out that problems was not in the code, problem was in the name of the file I was trying to save. Make sure the file name has no special characters

Please change the permission of the destination directory in which you save file. Permission must be 0777 for that folder and then it will work fine.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!