I try to exec the following command with php:
shell_exec('libreoffice --headless --convert-to pdf test.doc 2>&1');
and I get the following error:
[Java framework] Error in function createSettingsDocument (elements.cxx).
javaldx failed!
Warning: failed to read path from javaldx
This works:
exec('touch test1');
And on command line this also works (pdf is generated):
$ libreoffice --headless --convert-to pdf doc1.doc
is that a permission problem? How can I solve it?