Name | Default value |
Architecture | x86 (XAMPP Default) |
Thread Safety | Enabled TS: Stands for Thread Safety Enabled NTS: Stands for Thread Safety Disabled |
Compiler | MSVC11 (Visual C++ 2012) Some Imagick version are compiled with a different versions e.g VC9, VC11 (in this case), VC14 |
phpinfo()
function of PHP executing this function within an empty script:X86
architecture and DLL version because that's the architecture that XAMPP uses (normally, if not refer to the PHPINFO and download the correct version, e.g ImageMagick-<version>-Q16-x86-dll.exe
):php_imagick-<version>-<thread-safe-or-not>-<php-compiled-version>-<architecture>.zip
'. From this .zip
you will need to extract only the php_imagick.dll
file. Copy php_imagick.dll
file and paste in the php/ext
folder inside your xampp installation path (tipically C:xamppphpext
):php.ini
file by adding the following line:windows.php.net
. To download the required binaries, navigate to PECL Deps here and search in the list for Imagick:ImageMagick-6.9.3-7-vc11-x86.zip
). Now, extract all the files of this zip in a folder wherever you want, in this case we are going to extract the content of the zip in a folder in the desktop. bin
folder and copy all the .dll files (except ImageMagickObject.dll
) that would be about 146 files (with prefixes CORE_*
and IM_MOD_*
) and then paste the copied files into the apache/bin
folder of xampp (tipically C:xamppapachebin
).phpinfo
again. Now you should see imagick loaded as an extension:bin
directory of Apache (C:xamppapachebin
) to the PATH environment variable of Windows and the problem will be solved.