Skip to main content

ImageMagick installation on actual cPanel-server

Comments

11 comments

  • Thorsten H.
    root@xyz [~]# 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:CentOS release 6.8 (Final) /usr/local/cpanel/version:11.58.0.19 /var/cpanel/envtype:kvm CPANEL=release Server version: Apache/2.4.23 (cPanel) Server built: Jul 20 2016 18:30:57 PHP 5.6.24 (cli) (built: Jul 25 2016 13:08:41) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with the ionCube PHP Loader v4.7.5, Copyright (c) 2002-2014, by ionCube Ltd., and with Zend Guard Loader v3.3, Copyright (c) 1998-2014, by Zend Technologies with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies mysql Ver 14.14 Distrib 5.5.50, for Linux (x86_64) using readline 5.1
    0
  • Thorsten H.
    After /scripts/installimagemagick I did the following: Bind ImageMagick into PHP using Imagick For your new ImageMagick installation to work with your web php scripts, you now need to bind it into PHP. To do this using Imagick, just follow the steps below.
      ]
    • Login to WHM and navigate to the "Module Installers" option under "Software" in the left hand menu
    • On the following page, select the "Manage" link beside the PHP Pecl language option
    • Enter imagick into the "Install a PHP Pecl" field and then click the install button.
    I also edited the php.ini per MultiPHP INI-Editor, added ; ImageMagick nachinstalliert - 12.08.2016 extension=imagick.so Installation went fine, without problems - Restart Apache - but no changes, same problem as discribed above.
    0
  • cPanelMichael
    Hello, Internal case CPANEL-7557 is open to address an issue where running /scripts/imagemagick on cPanel 58 with EasyApache 4 results in a failure because it looks for PHP in the wrong path. I'll update this thread with more information on the status of this case as it becomes available. In the meantime, you can manually install the Imagick PECL module with a command such as:
    /opt/cpanel/ea-php56/root/usr/bin/pecl install imagick
    Note that EasyApache 4 includes support for multiple versions of PHP, so you must utilize the PHP 5.6 SCL if that's the version you want to install it on, as indicated by the above command. Update: The script to automatically install ImageMagick was removed as of version 58.0.25: Fixed case CPANEL-8229: Remove scripts/installimagemagick for 11.58. The following post explains how to manually install this software on your system: Installing Imagick CentOS 7 You can then proceed to install the PECL module for Imagick, as referenced in the beginning of that thread. Thank you.
    0
  • ikillbill
    Hi we still use EA3 on CentOS7 with cpanel 11.58 with PHP5.3 what is the command line we could use to install this please? thanks
    0
  • ikillbill
    FYI, We did Thorsten H 's 1+2+3 steps as well, imagick is not wokring
    0
  • cPanelMichael
    we still use EA3 on CentOS7 with cpanel 11.58 with PHP5.3 what is the command line we could use to install this please?

    What error message do you receive when using the "/scripts/installimagemagick" command? Thank you.
    0
  • robert98
    i also want to install imagick but it failed, i tried all command but i shows " ERROR: failed to mkdir /opt/cpanel/ea-php56/root/usr/share/doc/pecl/imagick/examples " if anybody know how to resolve it, kindly help
    0
  • feperrella
    I have the same issue, after some testing pecl is installing only in one PHP version not the others, and even the one is installed it comes with those errors.
    0
  • andrew.n
    You have the select the other PHP version at the top of the page and click on change then install imagick manually one by one. What is the error you are seeing?
    0
  • feperrella
    You have the select the other PHP version at the top of the page and click on change then install imagick manually one by one. What is the error you are seeing?

    Does not matter which PHP version is selected in the Pecl installation screen, it just install for PHP 7.2, I have 7.2, 7.3 and 7.4 available and the default is 7.3. After installation, even if I change to systems default 7.2 it says it tried to load the Imagick Module and failed, module missing or directory missing. However the files are there.
    0
  • andrew.n
    It's hard to help you out here. I suggest you to either open a ticket with cPanel at cPanel Customer Portal or hire somebody from System Administration Services to look into this further.
    0

Please sign in to leave a comment.