ImageMagick Installation

The ImageMagick can be installed using a simple cPanel script (/scripts/installimagemagick) in the older version of cPanel, but in newer versions of cPanel with EasyApache 4 uses another method to install it.

Step 1:  yum install ImageMagick-devel ImageMagick-c++-devel ImageMagick-perl

After installation verify the working using:

/usr/bin/convert –version

Install ImageMagick php extension

Step2: /opt/cpanel/ea-php56/root/usr/bin/pecl install imagick

Add below line in to the php.ini file

extension=imagick.so
service httpd restart
/opt/cpanel/ea-php56/root/usr/bin/php -m | grep imagick

Leave a Reply

Your email address will not be published. Required fields are marked *