Forum


Replies: 1   Views: 2496
Converting to pdf requires that the user be logged in.
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  · 30-12-2017 - 09:41

Hello,

The conversion plugin based on LibreOffice needs read and write access to the .config directory on the PHP HOME.

If you don't know this HOME folder you can run

getenv("HOME");

to get it.

You can change this path in the PHP config file or dynamically running this PHP line:

putenv("HOME=/var/www");

before doing the conversion (we are setting /var/www but you can set any other folder).

Regards.