ImageMagick installation on actual cPanel-server
Hello,
I tried to install imagemagick on my cpanel server because I need it for image manipulation with type 3.
I ran the following scrips: /scripts/installimagemagick
At the end of the installation I get the following error-messages (I will shorten them because they repeat):
The problem is, that only parts of image magick are running, others don't. Exc. overlays and text manipulation.
And I don't know how to resolve that problem! Regards Thorsten
1. Warning: Invalid argument supplied for foreach() in Command.php on line 249
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 249
2. Notice: Undefined index: honorsbaseinstall in Role.php on line 173
3. Notice: Undefined index: installable in Role.php on line 139
4. Notice: Undefined index: phpfile in Role.php on line 204
5. Notice: Undefined index: config_vars in Role.php on line 46
6. Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 249
All this lines apear 11 times, then comes the next one. And at the end:
XML Extension not found
The imagick.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20100525
Tidying /usr/local/cpanel/3rdparty/php/56/etc/php.ini...
No changes
Tidying /opt/cpanel/ea-php56/root/etc/php.ini...
No changes
The problem is, that only parts of image magick are running, others don't. Exc. overlays and text manipulation.
/usr/bin/convert --version
Version: ImageMagick 6.7.2-7 2016-06-16 Q16 ImageMagick: Convert, Edit, Or Compose Bitmap Images
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP
rpm -qa | grep ghost
ghostscript-8.70-21.el6.x86_64
ghostscript-fonts-5.50-23.2.el6.noarch
ghostscript-devel-8.70-21.el6.x86_64
And I don't know how to resolve that problem! Regards Thorsten
-
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 -
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.
0 -
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 -
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 -
FYI, We did Thorsten H 's 1+2+3 steps as well, imagick is not wokring 0 -
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 -
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 -
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 -
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 -
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 -
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.
Comments
11 comments