When I try <?php exec('/usr/bin/pandoc file -o file.pdf'); ?>
no file is created.
All formats works except the pdf format.
I think the problem is about the configuration server (debian 7 + nginx) and the function exec()
.
Whereas this command /usr/bin/pandoc file -o file.pdf
works in a terminal.
Thanks for your help
Same problem as PHP shell_exec wait for script to done?
I have this problem with the logs: pandoc: PATH: getEnv: does not exist (no environment variable)