Install the ImageMagick PHP extension in Windows

1.Check PHP version

λ php -v
PHP 8.3.30 (cli) (built: Jan 13 2026 22:50:40) (ZTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.3.30, Copyright (c) Zend Technologies

λ php -i | findstr "Thread"
Thread Safety => enabled
Thread API => Windows Threads

2.download ImageMagick from the following two websites.

https://mlocati.github.io/articles/php-windows-imagick.html

https://pecl.php.net/package/imagick

3.Extract from php_imagick-….zip the php_imagick.dll file, and save it to the ext directory of your PHP installation

4.Extract from php_imagick-….zip the other DLL files , and save them to the PHP root directory (where you have php.exe)

5.Add this lines to your php.ini

[imagick]
extension=php_imagick.dll
imagick.skip_version_check=true

6.Restart the Apache/NGINX Windows service (if applicable)

Leave a Comment

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

Scroll to Top