Win7 PHP configuration ImageMagick and Imagick

Source: Internet
Author: User
Tags imagemagick
1. Download ImageMagick: Individual selected version Imagemagick-6.9.2-0-q16-x64-dll.exe

Address Http://imagemagick.org/script/binary-releases.php#windows

2. Installing ImageMagick

installation directory C:\imagemagick\

"Add tosystem path" should be selected


3. Test whether the installation was successful

Open the command line (run with CMD), enter "Convert" and press ENTER to view the convert command option

Convert-version can detect the installed version information

If you are prompted to "convert is not an internal or external command, it may be the previous step" add to System path is unchecked and you can add the path to the system environment variable yourself

If you want to execute the convert command only through EXEC (), the following steps can be omitted;

If you need to call the API (API address: http://php.net/manual/en/book.imagick.php), continue down

4. Download Imagick version Imagick 3.3.0rc1

Address Http://pecl.php.net/package/imagick

5. Unzip the Imagick

1) Copy the Php_imagick.dll into the PHP extension folder, such as: D:\php\ext

2) Modify PHP.ini, add Extension=php_imagick.dll

3) Copy the Core_rl_*.dll from the extracted file to the C:\Windows\System32

Otherwise, it may appear


4) Add Environment variables:

Magick_home C:\ImageMagick\modules\coders

Otherwise it may appear that ImageMagick number of supported formats is 0


6. Restart the computer, and then check the phpinfo () information, such as the success!!!! But we still have to do the image processing. If the type of support is missing in supported formats, you can try it in a different Imagick package.


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

The above describes the win7 PHP configuration ImageMagick and Imagick, including the aspects of the content, I hope that the PHP tutorial interested in a friend helpful.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.