Under Windows 10 64, PHP 7.0.22, install: ImageMagick PHP Extension, the process of
1. Open:http://pecl.php.net/package/imagick/3.4.3/windows, download: 7.0 Thread Safe (TS) x64, as shown in Figure 1
2. After decompression, copy php_imagick.dll to C:\PHP-7.0.22\ext, as shown in Figure 2
3. Run: php-cgi.exe -b 127.0.0.1:9000-c c:/php-7.0.22/php.ini, error: php warning: php startup: Unable to load dynamic libraryc:/php-7.0.22/ext\php_imagick.dll, as shown in Figure 3
4. Open:https://www.imagemagick.org/script/download.php#windows, download: imagemagick-7.0.6-10-q16-x64-dll.exe, as shown in Figure 4
5. Installation: imagemagick-7.0.6-10-q16-x64-dll.exe, select all, as shown in Figure 5
6. Run: convert –version, normal, as shown in Figure 6
7. Uninstall: ImageMagick-7.0.6, as shown in Figure 7
8. Still report an error, open:http://windows.php.net/downloads/pecl/deps/, download: imagemagick-6.9.3-7-vc14-x64.zip, as shown in Figure 8
9. Create a new directory: C:\imagemagick-6.9.3-7-VC14-x64, as shown in Figure 9
10. Copy the directory: D:\soft\imagemagick-6.9.3-7-vc14-x64\bin, as shown in Figure 10
11. Copy to the directory: C:\ImageMagick-6.9.3-7-VC14-x64, as shown in Figure 11
12. Create a new environment variable: C:\imagemagick-6.9.3-7-vc14-x64, as shown in Figure 12
13. Create a new system variable: magick_home, its value is: C:\imagemagick-6.9.3-7-vc14-x64, as shown in Figure 13
14. Restart the machine, run: php-cgi.exe -b 127.0.0.1:9000-c c:/php-7.0.22/php.ini, normal, as shown in Figure 14
15. Run: convert –version, normal, version update to: ImageMagick 6.9.3-7 Q16 x64, as shown in Figure 15
16. Check phpinfo(), normal, as shown in Figure 16
Note: Attachment download















