Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install ImageMagick / Imagick on AlmaLinux 9 with PHP 8.1 #101

Open
ProPixelMedia opened this issue Jun 2, 2024 · 0 comments
Open

Comments

@ProPixelMedia
Copy link

I've upgraded my server to AlmaLInux 9 (with cPanel). I'm running PHP 8.1

I've been able to install Imagemagick 7.1, but PHP keeps using Imagemagick Version 6.9. Trying to get PHP to use version 7.1

Here's what comes up with I do print_r(imagick::getVersion()); in PHP:
[versionNumber] => 1693 [versionString] => ImageMagick 6.9.13-11 Q16 x86_64 18407 https://legacy.imagemagick.org/

Here's what comes up with I do convert --version in the shell:
WARNING: The convert command is deprecated in IMv7, use "magick"

Version: ImageMagick 7.1.1-33 Q16-HDRI x86_64 22263 https://imagemagick.org/
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP(4.5)
Delegates (built-in): bzlib fontconfig freetype jng jpeg lzma png tiff webp x xml zlib zstd
Compiler: gcc (11.4)

Here's what comes up with I do magick -version in the shell:
Version: ImageMagick 7.1.1-33 Q16-HDRI x86_64 22263 https://imagemagick.org/
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP(4.5)
Delegates (built-in): bzlib fontconfig freetype jng jpeg lzma png tiff webp x xml zlib zstd
Compiler: gcc (11.4)

So it seems like its installed on the server, but PHP still using the wrong version.

Spent another 3 hours on it last night installing and re-installing everything I could find. Is it true that I also need to install phpize and php-devel to get this to work? both of those software packages have been difficult for me to install. The server keeps rejecting my attempts to get them installed. I am at the ponit where I may have to download them manually to get them to install, but i can't even find a version that is compatible with AlmaLInux 9

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant