We use Unoconv to convert XLSX files to PDF and the same is done by calling Unoconv as: putenv('PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/node/bin'); $tmp_path = '/home/around/libreoffice_tmp'; $tmp_output_file = '/home/around/libreoffice_tmp/output.txt'; $cmd = 'echo ' . $tmp_path . ' & echo $PATH & UNO_PATH=/usr/lib/libreoffiby anujagg - How to...
![]() |
![]() |
![]() |
![]() |
|