: This article describes how to configure ImageMagick and Imagick in PHP under win7. if you are interested in PHP Tutorial, refer to it. 1. download ImageMagick: you have selected imagemagick-6.9.2-0-q16-x64-dll.exe.
Address http://imagemagick.org/script/binary-releases.php#windows
2. install ImageMagick
Installation directory C: \ imagemagick \
Select "Add tosystem path"
3. test whether the installation is successful.
Open the command line (run-> "CMD"-> Press enter), enter "convert", and press enter to view the convert command options.
Convert-version: detects installed version information.
If the prompt "convert is not an internal or external command, or the previous" Add to system path "is not selected, you can Add the path to the system environment variable on your own.
If you only want to execute the convert command through exec (), the following steps can be omitted;
To call the API (API address: http://php.net/manual/en/book.imagick.php), continue
4. download Imagick 3.3.0RC1
Address http://pecl.php.net/package/imagick
5. decompress Imagick
1) copy php_imagick.dll to the php Extension folder, for example, D: \ php \ ext.
2) modify php. ini and add extension = php_imagick.dll.
3) copy CORE_RL _ *. dll in the extracted file to C: \ Windows \ System32
Otherwise
4) Add Environment variables:
MAGICK_HOME C: \ ImageMagick \ modules \ coders
Otherwise, the ImageMagick number of supported formats may be 0.
6. restart your computer and view the phpinfo () information. if so, the operation is successful !!!! However, we have to continue with image processing. If the supported types are missing in supported formats, try another Imagick package.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.
The above describes how to configure ImageMagick and Imagick in PHP under win7, including some content, and hope to help those who are interested in PHP tutorials.