HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › Troubleshooting › PHP exec and Terminal › Re: Re: PHP exec and Terminal [SOLVED]
November 29, 2012 at 15:33
#29160
It turned out, that the apache user was having issues reading the JAR file, but not reporting it.
So, in the exec I now cd into the correct folder (explicitly) and it works fine.
Just took a lot of working out as I had no real error information, until I worked out which user apache was running under (_www) and running the command as that user.
Incase anyone else has this issue…