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 27 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70

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!