Replies: 5   Views: 2145
Error on generating downloadable document
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  · 15-10-2019 - 06:48


You can set a custom temp folder setting the first option:

; absolute path to the temp dir. If empty the default system tmp directory will be used
temp_path = ""

You can set any existing folder with rw access for the user you are using.

We also recommend you testing the included samples using PHP CLI mode and check your server logs to be able to find the source of your problem with the target folder you are using to save the documents.