Code: Select all
-dname= must be followed by a valid token
Fatal error: Uncaught exception 'ImagickException' with message 'Postscript delegate failed `label.pdf'' in Command line code:1
Stack trace:
#0 Command line code(1): Imagick->__construct('label.pdf')
#1 {main}
thrown in Command line code on line 1
Code: Select all
$ php -n -d extension=imagick.so -r 'var_dump($im = new Imagick("../foo.pdf"));'
Code: Select all
$ php -n -d extension=gd.so -d extension=imagick.so -r 'var_dump($im = new Imagick("../foo.pdf"));
Updating to a different version might be my solution, but any suggestion as to which version I should use?
Thanks