FS#69636 - [php-imagick] Imagick was compiled against ImageMagick version 1802 but version 1803 is loaded

Attached to Project: Community Packages
Opened by Francois (francoism90) - Sunday, 14 February 2021, 08:41 GMT
Last edited by David Runge (dvzrv) - Tuesday, 16 February 2021, 09:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 8
Private No

Details

Description:
This is PHP warning, don't know if this an PHP extension issue or Imagick needs a rebuild

Additional info:
* imagemagick 7.0.11.0-1
* php-imagick
* latest php packages

Steps to reproduce:
* Install php + php-imagick
This task depends upon

Closed by  David Runge (dvzrv)
Tuesday, 16 February 2021, 09:13 GMT
Reason for closing:  Not a bug
Additional comments about closing:  php-imagick does a version comparison check against imagemagick that leads to a misleading warning message.
Comment by BAD+MAD (mat_weiss) - Monday, 15 February 2021, 08:44 GMT
Same here:


PHP Warning: Version warning: Imagick was compiled against ImageMagick version 1802 but version 1803 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0


/etc/php7/php.ini and/or /etc/php/php.ini


imagick.skip_version_check = 1


quits the error message but of course it is not the solution
Comment by David Runge (dvzrv) - Tuesday, 16 February 2021, 09:12 GMT
@francoism90: Thanks for the report.

This is just a warning and stems from the fact, that php-imagick compares the imagemagick version, not the .so version.
We have checks in place to rebuild dependants on .so name bumps.

The warning can be ignored.

@mat_weiss:
That config option is in fact a good idea for the the php.ini include file of php-imagick.

Loading...