Window installation Imagick extensions and configuration

Source: Internet
Author: User
Tags imagemagick

Window installation Imagick extensions and configuration 1, installation ImageMagick

: http://www.imagemagick.org/download/binaries/, you can download the latest version, such as the. exe format to install the software.

The path path is installed by default and can be configured independently if not.

Then, the cmd Command window, input convert-version, if the version information appears, the installation succeeds.

2. Install PHP extensions

PHP extension imagick Download: http://pecl.php.net/package/imagick, recommended download 3.4.3 stable version, Note: 3.4 Seems to need to match 6.8 or 6.9 to be effective

  

Depending on your PHP version information, select the appropriate extension installation:

  

  

Copy the php_imagick.dll paste into the PHP configuration environment under the Extension Directory ext folder , the rest of the files are copied and pasted into the same sibling directory as the Ext folder .

Add Extension=php_imagick.dll to the php.ini configuration file

Restart the service!

Phpinfo (); In view of the relevant information, if the following extension, that is, the installation of the extension configuration is successful, sometimes you may need to restart the computer, refresh the next path configuration.

  

In this way, I would like to mention the installation method of Imagick in centos6.4:

* * * ImageMagick download to 6.9 version to and Imagick-3.4.3 version Use with * * *

1, install ImageMagick
http://soft.vpser.net/web/imagemagick/
wget http://soft.vpser.net/ web/imagemagick/imagemagick-6.9.1-2.tar.gz
Tar zxvf imagemagick-6.9.1-2.tar.gz
Tar xjf IMAGEMAGICK-7.0.5-7.TAR.BZ2
CD imagemagick-6.7.1-2/imagemagick-6.9.1-2.tar.gz
./configure--prefix=/usr/ Local/imagemagick--DISABLE-OPENMP
Make && make install
Ldconfig

Test whether the ImageMagick works:
/ Usr/local/imagemagick/bin/convert-version
Execution:/usr/local/imagemagick/bin/convert logo:logo.gif Test to see if the ImageMagick is functioning properly.

2, install the PHP extension: Imagick

http://Pecl.php.net/package/imagickwget http://pecl.php.net/get/ Imagick-3.4.3.tgztar zxvf imagick-3.4. 3 . TGZCD Imagick-3.0. 1//usr/local/php/bin/phpize. /configure--with-php-config=/usr/local/php/bin/php-config--with-imagick=/usr/local/&&  /usr/local/php/etc/php.ini

Add to:

; add ImageMagick extention, ********** Johnson *******************"imagick.so"

Restart LNMP

/root/lnmp Reloador lnmp Restart

Uninstalling Iamgemagick

Yum Remove Imagemagickyum install ImageMagick-devel

Window installation Imagick extensions and configuration

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.