Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 27
  1. #1
    Member
    Join Date
    Apr 2003
    Posts
    40

    Question Installing Image::Magick

    WHM 11.28.87
    REDHAT Enterprise 5.6 i686 standard

    Tried installing Image::Magick via WHM Perl module installer. Gave quite a few errors and said it was not possible to install.

    I `assume` that maybe ImageMagick is not installed on the server.

    There are a few threads here about Image::Magick, but seeing as how the most recent one is 2007, I wanted to ask and see what the current preferred/supported method is to install Image::Magick.

    TIA!

  2. #2
    bhd
    bhd is offline
    Member
    Join Date
    Sep 2003
    Location
    JNB ZA
    Posts
    144

    Default Re: Installing Image::Magick

    I installed it today actually on a CentOS 64 machine
    Code:
    /scripts/installimagemagick
    no problems at all.

  3. #3
    Member
    Join Date
    Apr 2003
    Posts
    40

    Default Re: Installing Image::Magick

    wow, can't believe I couldn't find that.

    Since it is in /scripts/, gotta be the supported way to do it.

    Many thanks!

    P.S. More here: Install ImageMagick and Imagick on Cpanel Server | Linux Sysadmin Blog

    he first recommends:

    Check first if it’s installed:
    /scripts/checkimagemagick

  4. #4
    bhd
    bhd is offline
    Member
    Join Date
    Sep 2003
    Location
    JNB ZA
    Posts
    144

    Default Re: Installing Image::Magick

    I normally just run
    Code:
    which convert
    to see if it's already there.

  5. #5
    Member
    Join Date
    Apr 2003
    Posts
    40

    Default Re: Installing Image::Magick

    Mission accomplished, it appears. I am however, astonished at how many little steps that script had to take to install a few programs whose simple mission it is to manipulate images. :lol:

  6. #6
    BANNED
    Join Date
    Aug 2009
    Posts
    83

    Default Re: Installing Image::Magick

    Hello,

    Just to confirm what you guys already found out

    The supported way to install it is:
    /scripts/installimagemagick

  7. #7
    Member sneader's Avatar
    Join Date
    Aug 2003
    Location
    La Crosse, WI
    Posts
    932
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Installing Image::Magick

    In looking at one of our servers, ImageMagick appears to be installed correctly. /scripts/checkimagemagick shows "OK". However, when viewing php.ini via a phpinfo.php page, there is no "imagick" section... so the php module is not enabled.

    Is there a supported way to add the php module? I don't see it as an option under the "Exhaustive Options" list under EasyApache. I *do* see "imagick 3.1.0b1 beta" as an option under Module Installers > PHP Pecl.

    ??

    - Scott

  8. #8
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Installing Image::Magick

    You would install it using Pecl for PHP for the module.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  9. #9
    Member sneader's Avatar
    Join Date
    Aug 2003
    Location
    La Crosse, WI
    Posts
    932
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Installing Image::Magick

    Thanks, Tristan. I gave it a go via PHP Pecl. It says it was successful, but it's not showing in phpinfo. Here's the end to the install log file.. notice the last line:

    Build process completed successfully
    Installing '/usr/include/php/ext/imagick/php_imagick.h'
    Installing '/usr/include/php/ext/imagick/php_imagick_defs.h'
    Installing '/usr/include/php/ext/imagick/php_imagick_shared.h'
    Installing '/usr/lib/php/extensions/no-debug-non-zts-20090626/imagick.so'
    install ok: channel://pecl.php.net/imagick-3.0.1
    Extension imagick enabled in php.ini
    The imagick.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20090626
    I restarted Apache for good measure, but no change to phpinfo. Ideas?

    - Scott

  10. #10
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Installing Image::Magick

    Could you try the steps noted here?

    http://forums.cpanel.net/f5/php-pecl...ls-198432.html

    It sounds like it went into the wrong directory.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  11. #11
    Member sneader's Avatar
    Join Date
    Aug 2003
    Location
    La Crosse, WI
    Posts
    932
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Installing Image::Magick

    Thanks, Tristan! That was the fix. The forum above mentions creating a symlink for memcache.so. I had to create one, instead, for imagick.so:

    Code:
    cd /usr/local/lib/php/extensions/no-debug-non-zts-20090626
    ln -s /usr/lib/php/extensions/no-debug-non-zts-20090626/imagick.so
    But it worked great! imagick now shows up in phpinfo!

    Thanks man!

    - Scott

  12. #12
    Member Data 1's Avatar
    Join Date
    May 2008
    Posts
    104

    Default Re: Installing Image::Magick

    I know this is an old thread, but I can't get it to install and it did just fine for the past 11 servers. Same setup on all of them, the only thing I noticed different this time was on the WHM load it displayed text instead of an hour of little plus signs. (why the change?)

    In the past the /scripts/installimagemagick worked 100% for me.

    What clues should I be giving?

    Thanks-

  13. #13
    Member Data 1's Avatar
    Join Date
    May 2008
    Posts
    104

    Default Re: Installing Image::Magick

    Successfully installed Image-Magick-6.72
    1 distribution installed
    &Image::Magick::constant not defined. The required ImageMagick libraries are not installed or not installed properly.
    END failed--call queue aborted.
    ImageMagick install failed

  14. #14
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Installing Image::Magick

    We have a case (52938) opened about that issue. Please try the following:

    Code:
    vi /scripts/checkimagemagick
    In that file change this line:

    Code:
    my $maxmem = ( 128 * ( 1024 * 1024 ) );
    To this:

    Code:
    my $maxmem = ( 256 * ( 1024 * 1024 ) );
    While /scripts/installimagemagick does have enough memory to install (it uses 256 for that line), the check script that runs at the end only has 128 listed and fails on the check due to the higher memory requirements. You should be able to bypass that check erroneously failing by bumping up the memory.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  15. #15
    Member Data 1's Avatar
    Join Date
    May 2008
    Posts
    104

    Default Re: Installing Image::Magick

    Hi,

    Didn't work at 256. Should I set it higher? Server has 12G.

    I'm about 2 days late on deploying this one, right now it is empty so if there is something radical to try I would be willing. The guys gallery wants imagemagick so I can't put him on there till it works

Similar Threads & Tags
Similar threads

  1. Installing Image::Magick - errors
    By Marty in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 03-30-2006, 02:15 PM
  2. Installing Image::magick Perl module
    By EMS in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 06-01-2005, 03:56 AM
  3. Image magick
    By agabehzad in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 05-11-2004, 01:24 AM
  4. Image Magick HELP!
    By LyL18 in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 11-26-2003, 02:43 AM
  5. Image magick
    By hugo24 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-06-2003, 01:06 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube