Preface
Here is the list of the software that we use in this article:
- xampp-windows-x64-8.1.0-0-VS16-installer.exe
- php_imagick-3.7.0-8.1-ts-vs16-x64.zip
- ImageMagick-7.1.0-18-vc15-x64.zip
Install Imagick extension on Xampp PHP8.1 Windows just follow the steps below:
Steps
- unzip php_imagick-3.7.0-8.1-ts-vs16-x64.zip , copy php_imagick.dll to xampp/php/ext folder
- mv php_imagick-3.7.0-8.1-ts-vs16-x64 folder to c:\ and add this folder to enviroument path , move up it on the top of php8.1 path
- unzip ImageMagick-7.1.0-18-vc15-x64.zip , copy bin/*.dll except ImageMagickObject.dll to xampp/apache/bin
- edit php.ini add one line of the extension part
extension=php_imagick.dll - restart apache
References
- https://ourcodeworld.com/articles/read/349/how-to-install-and-enable-the-imagick-extension-in-xampp-for-windows
- https://www.imagemagick.org/script/download.php#windows
- https://windows.php.net/downloads/pecl/deps/
- https://pecl.php.net/package/imagick/3.7.0/windows
- https://www.apachefriends.org/download.html