ImageMagick Thumbnailer

[How To]Installing Imagick on WHM/Cpanel - ImageMagick Thumbnailer

[How To]Installing Imagick on WHM/Cpanel

by thecoalman » Sat Sep 07, 2019 12:43 pm

Just went through this and since WHM is so popular I thought I would post it. It's not an end all tutorial but what worked for me. Open WHM panel and navigate to Software > Module Installer > PHP Pecl >> Manage

In the text box "Install a PHP PECL" type imagick and click install now. If you get no errors done deal, when you navigate to Software > Module Installer > PHP Pecl it should be listed as installed and this extension should work.

If you get this error which is what occurred for me:

Code: Select all

checking ImageMagick MagickWand API configuration program... checking Testing /usr/local/bin/MagickWand-config... Doesn't exist
checking Testing /usr/bin/MagickWand-config... Doesn't exist
checking Testing /usr/sbin/bin/MagickWand-config... Doesn't exist
checking Testing /opt/bin/MagickWand-config... Doesn't exist
checking Testing /opt/local/bin/MagickWand-config... Doesn't exist
configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
Go to command line and:

Code: Select all

yum install ImageMagick ImageMagick-devel
Go back to WHM panel and ty installing again.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6618
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: [How To]Installing Imagick on WHM/Cpanel

by canonknipser » Sat Sep 07, 2019 2:55 pm

Thank you very much. I would like to post this in the FAQ section, may I?
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs

Re: [How To]Installing Imagick on WHM/Cpanel

by thecoalman » Sun Sep 08, 2019 10:58 am

You are more than welcome to , should probably change it to WHM as it really only applies to WHM. WHM is the control panel for the server and Cpanel accounts. It won't work with Cpanel by itself.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6618
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: [How To]Installing Imagick on WHM/Cpanel

by canonknipser » Sun Sep 08, 2019 11:20 am

I added it to the relevant FAQ here and in my wiki:
https://www.phpbb.com/customise/db/exte ... r/faq/2791
https://github.com/canonknipser/imthumb ... AQ#faq-04a
Thank you very much
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs

Re: [How To]Installing Imagick on WHM/Cpanel

by thecoalman » Thu Apr 30, 2020 1:40 pm

Imagick somehow became uninstalled on my server three days ago and was not aware of it until today. :? I had to reinstall it.

I know you are checking for it when the extension is enabled. Not sure how feasible it is but perhaps check for Imagick on upload. Disable the extension if it fails and fallback to GD.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6618
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.