Forum


Replies: 1   Views: 7353
Ziparchive::close(): failure to create temporary file: no such file or directory
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 12-07-2021 - 13:05

Hello,

That's a generic PHP error that appears if the temp/target folder has some problem due to missing rw permissions or it can't be used to write temp/target files:

https://laracasts.com/discuss/channels/laravel/ziparchiveclose-failure-to-create-temporary-file-no-such-file-or-directory-1

https://stackoverflow.com/questions/43842824/ziparchiveclose-failure-to-create-temporary-file-in-aws-ec2-linux

We recommend you to check your server setup and also test using the PHP CLI mode.

Regards.