Forum


Replies: 6   Views: 10069
Check.php missing in the community version download
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 jorgelj  · 20-09-2013 - 07:39

Hello,



That problem is due to your server config, as you can check on this message:



tempnam() [function.tempnam]: SAFE MODE Restriction in effect. The script whose uid is 10010 is not allowed to access /tmp owned by uid 0



You have three options:



· Disable safe mode. As you can read, http://php.net/manual/en/features.safe-mode.php, it's deprecated and removed on new versions of PHP.



· Use a user to run PHP script that have rw access to your tmp directory server.



· Use a custom tmp changing or extending getTempDir method in CreateDocx class. PRO versions have a config options to set a custom temp directory.



Regards.