Skip to main content

ImageMagick 7 with PHP bindings

Comments

2 comments

  • Nick Fenwick
    I came to the conclusion that I do not need ImageMagick7 at all .. all I need is an ImageMagick with the lcms delegate installed, and the version in the remi repositories do have this (both version 6 and 7). Also, when using cPanel we do not need to install the php-pecl-imagick package, which would provide imagick.so and thus enable the PHP bindings. Instead one should use the Module Installer page in WHM to re-install (or install for the first time) the imagick PECL, which will download its source code and compile it for you. (this explains why 'rpm -q --whatprovides imagick.so' reported that no package owned imagick.so on my system) I did not have to enable any of Remi's php repositories, or replace any system packages other than the ImageMagick ones, which was a relief. No need to remove the "php*" exclusion in yum.conf. See forum.remirepo.net/viewtopic.php?pid=10339 for my investigation and solution. # yum remove ImageMagick # yum --enablerepo=remi install ImageMagick6-devel -- Go to WHM control panel as described here PHP PECL - Version 74 Documentation - cPanel Documentation and click 'reinstall' for the imagick PECL. -- restart httpd with: # /scripts/restartsrv_apache_php_fpm # /scripts/restartsrv_httpd
    0
  • cPanelLauren
    Hi @Nick Fenwick I'm really glad you found the solution to your issue and thank you very much for posting it here in such great detail, it's much appreciated.
    0

Please sign in to leave a comment.