Forum


Replies: 6   Views: 4302
Error generating pdf file from docx
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 david.costa@swyftfilings.com  · 05-11-2018 - 00:53

This are my system variables got after running check.php

OK PHP version is 7.2.5
OK Zip support is enabled.
OK DOM support is enabled.
OK XML support is enabled.
OK Tidy support is enabled.
OK mbstring is enabled.


PHP_VERSION: 7.2.5
PHP_OS: Linux
PHP_UNAME: Linux ip-172-31-43-228 4.14.62-65.117.amzn1.x86_64 #1 SMP Fri Aug 10 20:03:52 UTC 2018 x86_64
SERVER_NAME: 
SERVER_SOFTWARE: 
SERVER_ADDR: 
SERVER_PROTOCOL: 
HTTP_HOST: 
HTTP_X_FORWARDED_FOR: 
PHP_SELF: check.php
ZipArchive: 1
DomDocument: 1
SimpleXMLElement: 1
Tidy: 1
mbstring: 1

Config file: 
[settings]
temp_path = "/var/app/current/storage/app/public"

encode_to_UTF8 = "false"

language = "en-US"

paper_size = "A4"

[license]

code = "XXXXXXXXXXXXX"
value = ""

[transform]

method = "libreoffice"
path = "/opt/libreoffice6.1/program/soffice"

I still need your help to solve it, since I can convert docx to pdf from CLI already, and same in localhost.