Module Version Not Set
The compiled dll on PECL for 7.2 Windows doesn't have the module version set. Not sure if it's a Windows problem or a 7.2 problem.
When I run php -i
imagick module => enabled imagick module version => @PACKAGE_VERSION@ Imagick compiled with ImageMagick version => ImageMagick 7.0.7-11 Q16 x64 2017-11-23 Imagick using ImageMagick library version => ImageMagick 7.0.7-35 Q16 x64 2018-05-21
It's causing other libraries to fail when they run checks on the imagick version.
http://windows.php.net/downloads/pecl/snaps/imagick/3.4.3/php_imagick-3.4.3-7.2-ts-vc15-x64.zip https://mlocati.github.io/articles/php-windows-imagick.html
@Danack Any ideas here? Do I have to compile imagick myself? Or is there a way to force the imagick extension to report the version number?
Sorry not really.
This library could really do with someone stepping up to help maintain it, particularly on windows issues, which I just don't have time for.
I was able to correct this locally by opening php_imagick.dll in a HEX editor and searching for @PACKAGE_VERSION@ and replacing it with 3.4.3 (there was only one occurrence). It's not ideal but I wanted to post here about a quick fix if anyone else is in the same boat.
Thanks @adam1010 for mentioning this. Was able to use Notepad++ with the HEX Editor plugin to do this. For those wondering, changed "@PACK" to "3.4.3" and the rest to HEX "0" and it worked.