Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I had to give www-data the correct home directory!!

$process = new Process("HOME=".getCWD()." && export HOME && libreoffice --headless --convert-to pdf store/mar_maribov_higher_results.docx --outdir store"); $process->run(); return $path_copy_pdf;