åÐå ÇáÎØæÇÊ áä ÊÝíÏ , æáßä ááÇÝÇÏÉ ÝÞØ
ááÊÇßÏ ÌÑÈ ßæÏ Ýì ãáÝ test Ýì ÇáÑÏ ÇáÊÇáì

---------------------------------------------------------

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 https://www.imagemagick.org/download/ImageMagick.tar.gz
# tar xvzf ImageMagick.tar.gz
# cd ImageMagick*
# ./configure
# make
# make install

# magick -version

Version: ImageMagick 7.0.8-35 Q16 x86_64 2019-03-27 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.

ÇáãÑÌÚ:
https://forums.cpanel.net/threads/is...hp-7-4.681589/