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)

Desktop: Fedora 37 + rpmfusion + remi-test
Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 8 Stream 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!