Recommended Services
Supported Scripts

 

Installation on latest version of WHM/cPanel with EasyApache4 (EA4)

 

1. Install the following packages using YUM

yum install ImageMagick ImageMagick-devel

 

2. Install on EA4 PHP 5.5

/opt/cpanel/ea-php55/root/usr/bin/pecl install imagick

 

3. Install on EA4 PHP 5.6

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

 

4. Install on EA4 PHP 7.0

/opt/cpanel/ea-php70/root/usr/bin/pecl install imagick

 

5. Install on EA4 PHP 7.1

/opt/cpanel/ea-php71/root/usr/bin/pecl install imagick

 

6. Restart Apache Web Server

/scripts/restartsrv_apache

 

7. Check whether the package is installed and available as a PHP module

/opt/cpanel/ea-php55/root/usr/bin/php -m | grep -i imagick
/opt/cpanel/ea-php56/root/usr/bin/php -m | grep -i imagick
/opt/cpanel/ea-php70/root/usr/bin/php -m | grep -i imagick
/opt/cpanel/ea-php71/root/usr/bin/php -m | grep -i imagick