What is the right way to install imagick?

Operating System & Version
Cloudlinux 7.8
cPanel & WHM Version
88.0.13

EneTar

Well-Known Member
Dec 19, 2015
156
12
18
Greece
cPanel Access Level
Root Administrator
I have found several guides online to install imagick on a WHM/cPanel server but which one is the right way to install it since it doesn't exist in EA4? I'm on Cloudlinux 7.8
 

andrew.n

Well-Known Member
Jun 9, 2020
138
30
28
EU
cPanel Access Level
Root Administrator
Go to Modules in WHM, choose Pecl and there enter "imagick" then click on install. Repeat the process for all PHP versions you wish to make this available.
 

EneTar

Well-Known Member
Dec 19, 2015
156
12
18
Greece
cPanel Access Level
Root Administrator
Thank you for you assistance
Here are some more details:

Edit: Modules Installer Screenshot attached

Code:
#grep '' /etc/redhat-release /usr/local/cpanel/version /var/cpanel/envtype ; grep CPANEL= /etc/cpupdate.conf ; httpd -v ; php -v ; mysql -V
/etc/redhat-release:CloudLinux release 7.8 (Alexei Leonov)
/usr/local/cpanel/version:11.88.0.13
/var/cpanel/envtype:standard
CPANEL=release
Server version: Apache/2.4.43 (cPanel)
Server built:   May 12 2020 14:05:50
PHP 7.4.8 (cli) (built: Jul 16 2020 08:43:03) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.8, Copyright (c), by Zend Technologies
mysql  Ver 15.1 Distrib 10.3.23-MariaDB, for Linux (x86_64) using readline 5.1

I'm not sure if this is useful
Code:
#php -i | grep include_path
include_path => .:/opt/cpanel/ea-php74/root/usr/share/pear => .:/opt/cpanel/ea-php74/root/usr/share/pear

# ls -F /opt/cpanel/ea-php74/root/usr/share/pear
Archive/  Console/  OS/  PEAR/  pearcmd.php  PEAR.php  peclcmd.php  Structures/  System.php  XML/
Similar output and errors I have on every PHP version that I have on the server (7.2, 7.3, 7.4)

Anywhere else I should look into?
 

Attachments