$im = new imagick($file);
This line of code will work fine when ran from my browser, but when I try to run it from command line (CLI) then I get the following error…
Class ‘imagick’ not found
Any ideas why it won’t work from CLI?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Found a solution:
http://kvz.io/blog/2008/02/27/class-imagick-not-found/