Skip to content

Instantly share code, notes, and snippets.

@juyal-ahmed
Last active February 11, 2024 01:52
Show Gist options
  • Save juyal-ahmed/326d1df3d9a260fc3bdf to your computer and use it in GitHub Desktop.
Save juyal-ahmed/326d1df3d9a260fc3bdf to your computer and use it in GitHub Desktop.
Installing and Configuring ImageMagick on Xampp

#Steps to Install

  1. Download and Install ImageMagick http://imagemagick.org/script/binary-releases.php#windows
  2. Visit ImageMagic installation directory and module/coders copy all files and past on D:\xampp\apache\bin
  3. Download Binary https://pecl.php.net/package/imagick/3.4.0RC5/windows php 5.6 TS one according to phpinfo Architecture if it is x86/x64
  4. Exatract and copy php_imagick.dll to D:\xampp\php\ext
  5. Add php_imagick.dll on php.ini
  6. Copy 8 CORE_*.dll to D:\xampp\apache\bin
  7. Restart Apache
  8. done and visit phpinfo

Note: If you see in phpinfo imagick extension settings something like: ImageMagick number of supported formats: then Visit ImageMagick installation directory again like: C:\ImageMagick-6.9.3-Q16\modules\coders and copy all *.dll and past them to apache/bin

@Maxime66410
Copy link

PHP Warning: PHP Startup: imagick: Unable to initialize module\nModule compiled with module API=20210902\nPHP compiled with module API=20220829\nThese options need to match\n in Unknown on line 0

PHP Version : 8.2.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment