How to Install ImageMagick for EA-PHP

Introduction

This article will guide you through installing ImageMagick for EA-PHP. 

 

Procedure

Please note, before installing the ImageMagick extension, the operating system's ImageMagick packages must be installed

CentOS 7 / CloudLinux 7

yum install ImageMagick ImageMagick-devel -y

AlmaLinux 8, 9 / CloudLinux 8

dnf config-manager --set-enabled epel
dnf install ImageMagick ImageMagick-devel -y

Ubuntu:

apt install imagemagick magickwand

 

After installing the ImageMagick packages, you can use the following steps to install the Imagick module.

  1. Log in to WHM as the root user.
  2. Navigate to "Home / Software / Module Installers"
  3. Click on the "Manage link" to the right of "PHP Pecl."
  4. Select your desired version of PHP from the drop-down menu, and click "Apply."
  5. Under "Install a PHP Pecl," enter "imagick" (without the quotes).
  6. Click "Install Now."
  7. If the server's operating system is CloudLinux, update CageFS by navigating to: "Home / Plugins / CageFS User Manager"
  8. Then click on the "Update CageFS Skeleton" button on the bottom right
  9. If PHP-FPM is used, this service must also be restarted
    /scripts/restartsrv_apache_php_fpm


Was this article helpful?

mood_bad Dislike 0
mood Like 1
visibility Views: 99