Install Imagick for PHP 8.3 on cPanel WHM Server (Workaround)

This article provides a guide for how to install Imagick for PHP 8.3 on cPanel WHM server as a workaround to the alternative installation guide.

Pre-requisites

This guide assumes the following:

  • PHP 8.3 packages have been installed through EasyApache 4 in the cPanel/WHM server
  • ImageMagick packages have been installed for other PHP versions on the server
  • Root-level administrative access is required

How to Install Imagick for PHP 8.3 on cPanel WHM Server (Workaround)

To install Imagick for PHP 8.3 on cPanel WHM server, follow the steps provided below:

  1. As root-equivalent user, login via SSH or use cPanel terminal.
  2. Run the following commands:
    curl -L https://github.com/remicollet/imagick/archive/9df92616f577e38625b96b7b903582a46c064739.zip -o /tmp/imagick-issue-php83.zip  \
    && unzip /tmp/imagick-issue-php83.zip -d /tmp \
    && /opt/cpanel/ea-php83/root/usr/bin/pecl install /tmp/imagick-9df92616f577e38625b96b7b903582a46c064739/package.xml \
    && echo "extension=imagick" > /opt/cpanel/ea-php83/root/etc/php.d/imagick.ini
  3. Verify the installation.

Conclusion

You now know how to install Imagick for PHP 8.3 on cPanel WHM server (workaround).

  • imagemagick, php, php extensions, whm, cpanel workaround, cpanel setup, cpanel server administration
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Disable Network Manager on CentOS 7

This article will provide the steps to disable Network Manager in CentOS 7. Network Manager is...

Disable Network Manager on CentOS 6

This article will provide the steps to disable Network Manager in CentOS 6. Network Manager is...

How to Find the IP of cPanel/WHM Server

This tutorial is designed to troubleshoot and diagnose issues with cPanel license errors. Find...

Uninstall WHMXtra on cPanel Server

This article provides a quick and direct guide for uninstalling the WHMXtra plugin from a...

How to Customize cPanel Installation

This article provides a guide for customizing a cPanel server installation, using the...