IMAGICK MAGIC WHM/CPANEL CENTOS 6+ SERVERS

The key to imagick installation for WHM/cPanel CentOS 6+ servers comes in two parts.

Folks trying to install this and cannot figure out why it is not working/showing in their php info screens are almost always missing at least one of the two pieces.

First piece - SSH into the server and run the following script which installs the bases packages:

/scripts/installimagemagick


Second piece - now copy and paste the following section completely into your ssh client in full:

/usr/local/cpanel/3rdparty/bin/perl -e 'use Cpanel::LangMods; for my $module (@ARGV){print "\n==== Uninstall $module ====\n"; print Cpanel::LangMods::doaction("php-pecl","uninstall",$module); print "\n====\n";print "\n==== Install $module ====\n"; print Cpanel::LangMods::doaction("php-pecl","install",$module); print "\n====\n";}' imagick

Restart Apache: service httpd restart

Extra: If you plan on using ImageMagick in perl scripts:

yum install ImageMagick-perl

Restart Apache: service httpd restart

CloudLinux users note - should also run cagefsctl --force-update to update the end user cages
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

WHAT WE MANAGE AND FIREWALL FALSE POSITIVES

Relevant to dedicated servers and answering an inquiry from a dedicated server client:Certainly...

ADDING MEMCACHED TO CENTOS 6.5+ AND CENTOS 7+

Step 1: SSH into your server and fire this command yum install memcached.x86_64 Step 2: Next...

APACHE NOBODY ATTACK SCRIPT

The Apache Nobody attack script is useful in stopping those that are victims of Apache Nobody...

BOOT PARTITION FILLING UP

The boot partition can fill up with excess kernels causing the system to crash if the boot...

CLOUDFLARE RAILGUN SERVER INSTALLATION

Installing CloudFlares RailgunThe following tutorial considers that one is already a CloudFlare...

Powered by WHMCompleteSolution