Error "FailedToExecuteCommand `'gs' ...` @error/pdf.c/InvokePDFDelegate/291
Posted: 2017-09-11T02:10:07-07:00
I'm getting the above error when I try to run the below line of code:
When I run exactly the same line through the command line (php -a) it works fine, the PHP version and source is the same in both command line and 'in app' using (Laravel Valet, runs on NGINX).
Has anyone come across this issue before or am I missing something obvious.
PHP 7.1, ImageMagick 7.0.7-1, GhostScript 9.21 all installed through HomeBrew, ImageMagick installed via php71-imagick
Thanks
Code: Select all
new Imagick("/Users/scrwdnet/Desktop/DEVELOPMENT/Safe/system/storage/medialibrary/temp/8Y1yyIbiUjuPAjcVIbYpGByEYCpCBahB/RW0tlWRLbO4lasmJ.pdf");
Has anyone come across this issue before or am I missing something obvious.
PHP 7.1, ImageMagick 7.0.7-1, GhostScript 9.21 all installed through HomeBrew, ImageMagick installed via php71-imagick
Thanks