Fatal Error: Class 'Imagick' Not Found

Fatal Error: Class 'Imagick' Not Found

I'm running Ubuntu 14.04.5 LTS

I've run following commands

sudo apt-get update
sudo apt-get install imagemagick
sudo apt-get install php5-imagick
sudo apt-get update

Edited my php.in /etc/php/5.6/apache2/php.ini added following at end of file

extension=imagick.so

After all this

sudo service apache2 restart

But still I'm getting the error and even in php -m it's not showing Imagick.

Using

PHP 5.6.28-2+deb.sury.org~trusty+1 (cli)

1 Answer

Okay finally got solution..

 sudo apt-get install php5.6-imagick
 sudo service apache2 graceful

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

David Miller
Author

David Miller

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.