Replies: 1   Views: 4239
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 royh  · 12-07-2021 - 12:10

Good day,

I am trying to install my system on an Ubuntu server and keep getting the following error when trying to generate the document:

ZipArchive::close(): Failure to create temporary file: No such file or directory

Please advise.

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


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:

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