Forum


Replies: 12   Views: 7546
Problems with permissions on setup
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  · 11-04-2013 - 12:13

Hello,

If you have safe_mode, an option that was deprecated in PHP 5.3 and remove in PHP 5.4, you must always be aware of:

------------------------------------------------------------------------------------------------------------
Safe mode will not permit you to create new files in directories which have different owner than the owner of the script. This typically applies to /tmp, so contrary to Unix intuition, you will not be able to create new files there (even if the /tmp rights are set correctly).
------------------------------------------------------------------------------------------------------------

This is for every script, library, CMS and every other PHP application. PHPDocX is compatible with safe_mode but of course doing needed chages to temp path and files owner

Regards.