Aug 14

Proper Installation of Imagemagick

Please do the following steps for installing imagemagick.

You can install imagemagick using the script

/scripts/installimagemagick

If the installation is not successful, please download and install it from source file.

Download –> ImageMagick-6.7.7-3.zip
cd /downloaded/path – mostly /usr/src/
unzip ImageMagick-6.7.7-3.zip
cd ImageMagick-6.7.7-3
./configure
make
make install

If you are installing imagamagick from source, then you need to install perl magick also. The perl magick is included in the imagemagick untared directory.

cd /usr/src/ImageMagick-6.7.7-3/PerlMagick/
perl Makefile.PL
make
make install

Some php scripts need imagick need to be installed.

Download imagick-2.3.0.tgz to /usr/src
cd /usr/src
tar -xvzf imagick-2.3.0.tgz
cd imagick-2.3.0/
phpize
./configure
make
make install

You need to add the extension file extension=imagick.so in the php.ini file.

You can check the version of imagemagick using the following command

convert -v

You can check whether imagemagick and perl magick installed successfully using the following command

/scripts/checkimagemagick

tadaaaa 😀

Leave a Reply

Your email address will not be published.