Running libreoffice from php exec()

前端 未结 7 1316
臣服心动
臣服心动 2020-12-16 16:05

I have installed libreoffice headless on a freebsd-server with apache in order to convert documents programmatically (e.g. odt->pdf). It works from the command line! But my

7条回答
  •  离开以前
    2020-12-16 16:29

    I was having the same problem and yes (thanks Wrikken) after prepending /usr/local/sbin to the PATH environment variable I was able to run libreoffice as www-data under apache.

提交回复
热议问题