Topic: Imagemagick error

Hi folks,

Is anyone seeing an error like this when calling imagemagick from php scripts? The programmers on the system I run say they are seeing this:

"PHP Warning:  Version warning: Imagick was compiled against Image Magick version 1683 but version 1684 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0"

We are running:

If I need to provide any more info, just let me know and I will collect it.


Re: Imagemagick error

In /etc/php.d/40-imagick.ini you have


So this, warning is not displayed (and compatibility is checked using soname on linux)

Laptop:  Fedora 40 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: AlmaLinux 8 with EPEL, rpmfusion, remi

Re: Imagemagick error

I was running a php script on the command line on CentOS 7, so it was ignoring the php.d ini files, but your suggestion led me to a quick solution.

Thanks Remi!