Skip to main content

Issue with Imagick and Php 7.4

Comments

2 comments

  • Joe0808
    Hi All, An I figured it out my self. Yayyyyy!! I found that somehow there were two ImageMagick's directories on my server. Not sure how! I found two separate directories : /usr/include/ImageMagick-7 /usr/include/ImageMagick-6 Anyways, I wanted to try re-install ImageMagick and I found the install version using : rpm -qa |grep ImageMagick which gave me following result: ImageMagick-6.9.10.68-3.el7.x86_64 ImageMagick-devel-6.9.10.68-3.el7.x86_64 I remove it using : yum remove ImageMagick-6.9.10.68-3.el7.x86_64 it removed the dependencies as well. Then I installed it again using Yum: yum install ImageMagick ImageMagick-devel ImageMagick-perl php-devel gcc It should installed ImageMagick again. After that tried enabling the php image magick extension on php 7.4 again (manually and using cPanel) but unfortunately It failed again. Investigating it further I found that in the make command it was referencing the path /usr/include/ImageMagick-7 I guess it was used as well. I though why not installed the latest version of Imagick, so I followed the installation below : # wget ImageMagick Copyright: " 1999-2019 ImageMagick Studio LLC License: ImageMagick Features: Cipher DPC HDRI OpenMP Delegates (built-in): bzlib fontconfig freetype jng jpeg lzma png tiff x xml zlib and I guess it installed ImageMagick-7 again. After this installing the php extension from cpanel (module installer > install pecl) worked charm. Finally got it working!!!!!!!!! Not sure how I came from reinstalling 6 and installing 7. That made no sense to me after giving it a thought but I guess I was frustrated spending long hours trying to fix it, so wanted to try everything. Hope it helps others. Regards, Joseph.
    0
  • cPRex Jurassic Moderator
    I'm glad you were able to track this down and get it working!
    0

Please sign in to leave a comment.