Find best webhosting in chennai

Location

Chennai

Working Hours

09:00 AM to 07:00 PM ( Mon - Sat )

Phone Number

(+91) 9884800300

How to Install ImageMagick for EA-PHP

Install ImageMagick

Images play a tactic role in content understanding. One image gives a surplus idea about the content behind. While adding an image on the website or for some other purpose we need to covert, display, and vector accordingly. For this purpose, we need software called “ImageMagick”.

ImageMagick gives an open advantage to PHP whereas just by installing PHP extension; ImageMagick you can access it without norms.

Moreover, installing the ImageMagick PHP extension is not a big task! Follow the below steps to install it in your cPanel server.

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

Procedure to Install ImageMagick 

1.Access the server’s command line as the ‘root’ user via SSH or “Terminal” in WHM.
2.Install the operating system’s ImageMagick packages if not already installed.
Almalinux  or CloudLinux 7

yum install ImageMagick ImageMagick-devel -y

AlmaLinux 8/9, CloudLinux 8/9, Rocky Linux 8/9

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

Ubuntu

apt install imagemagick magickwand

3.Log in to WHM as the root user.
4.Navigate to “Home / Software / Module Installers”
5.Click on the “Manage link” to the right of “PHP PECL.”
6.Select your desired version of PHP from the drop-down menu.
7.Click the “Apply” button.
8.Under “Install a PHP Pecl,” enter “imagick” (without the quotes).
9.Click the “Install Now” button.
10.Update CageFS if it is installed.

  • Navigating to “Home / Plugins / CageFS.”
  • Click the “Update CageFS Skeleton” button.

11.Restart PHP-FPM if it is installed.

  • Navigate to “Home / Restart Services / PHP-FPM service for Apache.”
  • Click the “Restart” button.

I Hope, you will have a clear mindset on installing ImageMagick right now! It will be well executed with the team of expertise in system administration.