Hello,
You can set a custom temp dir in the config/phpdocx_config.ini file instead of the createDocx method. Are you using the latest version of PHPDocx?
Regards.
🏷️ Limited Offer: 25% OFF 🏷️
First 100 purchases only — Special discount!
Use this coupon on checkout: PHPDXPJ_D1SC1N5T
Get it now