It did turn out to be an issue with the server not being able to access GS.
This question was pointed out to me by another developer: https://stackoverflow.com/a/37932296/7468785
The symlink fixed it right away.
Search found 3 matches
- 2017-09-14T00:31:20-07:00
- Forum: IMagick
- Topic: Error "FailedToExecuteCommand `'gs' ...` @error/pdf.c/InvokePDFDelegate/291
- Replies: 3
- Views: 13565
- 2017-09-11T02:19:47-07:00
- Forum: IMagick
- Topic: Error "FailedToExecuteCommand `'gs' ...` @error/pdf.c/InvokePDFDelegate/291
- Replies: 3
- Views: 13565
Re: Error "FailedToExecuteCommand `'gs' ...` @error/pdf.c/InvokePDFDelegate/291
I'm addition to this running:
Prints out the correct GhostScript details etc, so it doesn't seem to be an issue with GS not being available to NGINX. :/
Thanks
Code: Select all
shell_exec("gs -v")
Thanks
- 2017-09-11T02:10:07-07:00
- Forum: IMagick
- Topic: Error "FailedToExecuteCommand `'gs' ...` @error/pdf.c/InvokePDFDelegate/291
- Replies: 3
- Views: 13565
Error "FailedToExecuteCommand `'gs' ...` @error/pdf.c/InvokePDFDelegate/291
I'm getting the above error when I try to run the below line of code: new Imagick("/Users/scrwdnet/Desktop/DEVELOPMENT/Safe/system/storage/medialibrary/temp/8Y1yyIbiUjuPAjcVIbYpGByEYCpCBahB/RW0tlWRLbO4lasmJ.pdf"); When I run exactly the same line through the command line (php -a) it works fine, the ...