Ubuntu – Having problems installing ImageMagick on Ubuntu 14.04

14.04imagemagicksoftware installation

Trying to install imagemagick since 1.5 hrs but with no luck.

sudo apt-get install imagemagick php5-imagick

But nothing is happening. I tried to cross check with

if (!extension_loaded('imagick'))
    echo 'imagick not installed';

And it is returning the message, means not loaded. I have also tried to find imagick.so file path but that also couldn't find.

There is one imagemagick folder including some xml files. So my question is that is it all files of Imagemagick or something I am missing. Also do I need to add imagick.so in php.ini file?

Very confused, please help me

Best Answer

try this:

sudo apt-get install php5-imagick
sudo php5enmod imagick
Related Question