Hi Folks - I cannot get IMAGICK to load on the following fresh XAMPP and WordPress install. I hope someone can help:
The WordPress Site Health error message is: "The optional module, imagick, is not installed, or has been disabled."
Imagick is not listed by phpinfo.php
php -version reports:
PHP Warning: PHP Startup: imagick: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20220829
These options need to match in Unknown on line 0
Windows 11 X64 22H2 (all updates installed)
Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.32.31938 installed (also x86 v14.32.31322) - both latest
XAMPP 8.2.4 / PHP 8.2.4
Thread Safety: enabled (as reported by phpinfo.php)
Compiler: Visual C++ 2019 (as reported by phpinfo.php)
WordPress 6.2
ImageMagick-7.1.1-8-Q16-HDRI-x64-dll.exe (latest) has been installed and tests ok with the following command line tests:
a) magick logo: logo.gif
b) magick identify logo.gif
c) magick logo.gif win:
php_imagick-3.7.0-8.1-ts-vs16-x64.zip files (latest) have been copied as follows:
a) php_imagick.dll file into c:\xampp\php\ext
b) CORE_*.dll and IM_MOD_*.dll to c:\xampp\apache\bin
I note that the most recent version from https://pecl.php.net/package/imagick/3.7.0/windows is only PHP 8.1 (there is no PHP 8.2 version)
"extension=php_imagick.dll" inserted in c:\xampp\php\php.ini
c:\xampp\apache\bin added to the PATH
Rebooted
Imagick dos not load and the errors listed above are displayed.
Please can someone help understand what the cause is, and how to solve this. I suspect it has something to be the module mismatch but I have no further idea how to get Imagick working on XAMPP 8.2.4.
Help would be much appreciated.
Thanks