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.

imagick install cpanel alamalinux 8

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.

Did Not Find Your Answer ? Open A Support Ticket

Recent Blog

How To Install WordPress in cPanel using Softaculous?

Do you knowHow to install WordPress in cPanel using Softaculous. This is one of the best and easiest ways to…

How to Install CloudLinux OS 7/8/9 in WHM?

To install the CloudLinux Operating System in WHM, follow these steps. Step 1: Login to your SSH as the root…

How to Uninstall Imunify360 From WHM?

Follow these steps to uninstall Imunify360 from the WHM root server. Step 1. Log in to SSH as a root…

Copyright © 2019 Max Cloud Host. All Rights Reserved.