Page 1 of 1

Loading Imagick extension in Xampp/PHP 7.2

PostPosted: 23. December 2017 17:05
by TomXampp
I've used Image Magic via the imagick extension successfully in all previous versions of XAMPP and PHP 7.X, but it cannot find the DLL in the new PHP 7.2. The error message is:

[23-Dec-2017 15:55:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: C:\xampp\php\ext\imagick (The specified module could not be found.
), C:\xampp\php\ext\php_imagick.dll (The specified procedure could not be found.
)) in Unknown on line 0


My PHP.INI has:

Code: Select all
extension=imagick


...which follows the new convention in PHP 7.2 of dropping the extension and prefix.

I also have php_imagick.dll in my php/ext directory.

I also have the various CORE_RL_*.DLL files in the apache/bin directory.

What is the solution?