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