The basic setup I am trying to accomplish is using pdftk with PHP on IIS
I am trying to setup pdftk to run with PHP for processing on our internal server. I have tested that pdftk does work through command on the server but I cannot get it to run through php. I have tried changing from exec()
to passthru()
, system()
, and shell_exec()
just to be sure it wasn't specific.
The main solution I'm finding is saying that the IUSR account needs at least read & execute privileges on cmd.exe
in the system32
folder. I have tried this and it did not change anything. I always get either "Unable to fork" or "Unable to execute" depending on which command I'm using.