Forum


Replies: 5   Views: 4740
Conversion plugin not working
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 websurfermedia  · 23-11-2015 - 23:45

I ended up getting Libreoffice working like this:

shell_exec('export HOME=/data/temp && /opt/libreoffice5.0/program/soffice --headless -convert-to pdf --outdir /data/temp/files /data/temp/files/test.docx');