IAMEM Hosting

Install PHP ImageMagick cPanel

Home > Blog > cPanel > Install PHP ImageMagick cPanel
15Jun, 2017
0

Install PHP ImageMagick cPanel

 

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

 

Leave a Reply

one × three =

Copyright © 2019 | iamemhost.com . All rights reserved.