Install Imagick in cPanel

ImageMagick is an open-source program used to edit and convert different types of the image file. ImageMagick extension is popular in the Linux world because it can be integrated with PHP scripts to edit or convert image files.

Follow the below steps to install the Imagick extension in cPanel.

Step 1: Log in to the WHM panel as the root user.

Step 2: From the Home, section navigates to the Software section.

Step 3: Select Module Installers from the Software section.

Step 4: Click on Manage next to PHP PECL.

Step 5: Select the PHP version from the drop-down list and click Apply.

Step 6: Type "Imagick" (without the quotes) in the search box and click Go.


Step 7: Click Install to proceed with Installing Imagick extension.


After successfully installing the Imagick Module you can verify by navigating to Home >> Software >> Module Installer >> PHP PECL and select the correct PHP version from the drop-down list and click Apply.

Scroll down to see the Installed PHP PECL(s) modules and verify Imagick Module is installed.

Step 7: Kindly proceed to restart the PHP-FPM service as well as the Apache service for the installation to take effect.

The application or the PHP Info page should able to detect and showing the Imagick now.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.