Install PHP-Imagick with Windows

Source: Internet
Author: User
Tags install php imagemagick phpinfo

Before installation, you should first look at your PHP version, you can phpinfo view, including PHP version and whether thread safety.


Then go to download the corresponding Imagick version and extension, the version is not installed will fail, so be sure to note.

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

You can also download release version: http://windows.php.net/downloads/pecl/releases/imagick/

or http://windows.php.net/downloads/pecl/deps/download

After downloading the ext directory in PHP (or you can not in this directory, when the php.ini there to write an absolute address on the line) to build a directory, I built a imagick, and then php.ini there to add expansion extension=c:\wamp\bin\php\ Php5.5.12\ext\imagick\php_imagick.dll (This is my directory, if you are not this directory, do not directly copy OH). Put this and this directory
C:\wamp\bin\php\php5.5.12\ext\imagick\ added to the system environment variable path.
After the installation can be Phpinfo view will come out of the Imagick module, as shown in the following figure
But this time still cannot use, of course my is installs good, but you you will see ImageMagick number of supported formats for 0,imagemagick supported formats no value, Also install ImageMagick, then go to download the corresponding Imagick,imagick in the red box can choose to download the high version or lower version, but can not exceed the large version, download the address: http://imagemagick.org/script/download.php

Imagick must choose the right version, if not found can go to http://www.imagemagick.org/download/binaries/or http://windows.php.net/downloads/pecl/ releases/imagick/to find, really can not find to go to degree Niang. If the Imagick is a green version of the need to add their own system environment variables, is the EXE version will be automatically added.

Imagick must choose the right version, if not found can go to http://www.imagemagick.org/download/binaries/or http://windows.php.net/downloads/pecl/ releases/imagick/to find, really can not find to go to degree Niang. If the Imagick is a green version of the need to add their own system environment variables, is the EXE version will be automatically added.

Everything's okay. As shown in the figure above, the ImageMagick supported formats no value is not 0, the supported conversion also has, first Test to see if it is available, if not, restart the machine.


Reference Address: http://blog.csdn.net/livelinux/article/details/50319853

Http://www.cnblogs.com/dreamydeng/p/6806956.html


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.