Celeb Glow
news | March 30, 2026

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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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