How to Install ImageMagick and Imagick on cPanel & WHM Server?


What is ImageMagick?

ImageMagick is a versatile software suite for creating, editing, composing, or converting raster images and vector graphics. It’s open-source and supports a wide range of formats. With command-line tools or through its libraries, ImageMagick enables users to manipulate images, such as resizing, cropping, rotating, applying filters, and more. It’s widely used in web development, graphic design, and scientific research due to its flexibility and powerful capabilities.

What is Imagick?

Imagick is a PHP extension that serves as a wrapper around the ImageMagick library, providing PHP developers with a powerful set of functions to manipulate images. It enables the creation, modification, and processing of images directly within PHP scripts, offering capabilities like resizing, cropping, applying filters, and more. Imagick seamlessly integrates with PHP environments, making it a popular choice for web developers working on projects that require dynamic image manipulation and processing.

How to install ImageMagick on cPanel & WHM Server?

Before starting the installation process, check if ImageMagick is already installed or not. Run this command to check.

/scripts/checkimagemagick

You can start the installation process by logging in to your SSH as the root user and running the following command to install ImageMagick on your cPanel & WHM server with a compatible operating system.

Install ImageMagick on CentOS 7 / CloudLinux 7 OS:

yum install ImageMagick ImageMagick-devel -y

Install ImageMagick on AlmaLinux 8 / CloudLinux 8 OS:

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

Install ImageMagick on the Ubuntu OS:

apt install imagemagick magickwand

Note: After the installation is complete, use this command to check your ImageMagick version:

/usr/bin/convert –version

How to Install Imagick on cPanel & WHM Server Using GUI?

Step 1 :

Log in to WHM as the root user.

Step 2 :

Navigate to “Home / Software / Module Installers”

Step 3 :

Click on the “Manage link” to the right of “PHP Pecl.”

Step 4 :

Select your desired version of PHP from the drop-down menu, and click “Apply.”
Under “Install a PHP Pecl,” enter “imagick” (without the quotes).
Click “Install Now.”


Sumit Kumar

I am the CEO, Found of Max Cloud Host offering quality and affordable services to global clients. I am an expert in the Web Hosting niche and give full support to all of our customers anytime.

Related Post


Did Not Find Your Answer ? Open A Support Ticket

Migrate Your Website for Free

Are you not happy with your current provider? Migrate Now!

  • Free Domain Renewal
  • Free SSL Certificate
  • Free Website Backup
  • 24x7 Customer Support

Recent Blog

How do I reboot WHM?

Reboot your WHM via CLI: Step 1: Login to your SSH as the root user. Step 2: Run this command…

How To Change Nameservers in BigRock Domain?

To modify the nameservers in BigRock Domain, you need to simply access your account and follow these easy steps: Step…

How to Check Domain Expiry Date?

To check the expiry date of a domain name, you can follow these steps: Step 1: Visit https://www.whois.com/whois/ Step 2:…

Copyright © 2019 Max Cloud Host. All Rights Reserved.