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 Bu dökümanı faydalı bulan kullanıcılar:
Bu cevap yeterince yardımcı oldu mu?

Related Articles

Remove a Service from ChkServd Monitoring for cPanel Servers

This guide requires root user account in server. In some circumstances, ChkservD cPanel...

Assigning a Dedicated IP Address to a Subdomain using WHM

To assign a dedicated IP address to a subdomain, perform the following steps: Step 1: Add the...

How to Uninstall Installatron in WHM cPanel Server

This guide will show you how to quickly uninstall Installatron software from WHM/cPanel server....

How to Install Installatron in WHM cPanel Server

This guide will show you how to download and install Installatron on your cPanel/WHM server. To...

How to Install Softaculous with cPanel/WHM

This guide will show you how to download and install Softaculous on your cPanel/WHM server. To...