step-by-step instructions for installing IMAGEMAGICK on WAMP?

imagemagick, php, wamp

Solution

I know this is old post but I spend my all day to make it work, so here are the steps that helped me:

- Download ImageMagick Binary Release - http://www.imagemagick.org/script/download.php

- Install in C:\imagemagick, on last step check "Add application directory to your system path"

- Download Imagick DLL: PHP5.6.x version from http://www.peewit.fr/imagick/ (I have 5.6+ version installed on my localhost

- Copy php_imagick.dll to C:\wamp\bin\php\ext

- Download PHP 5.6 Thread Safe (TS) x86 version from http://pecl.php.net/package/imagick/3.1.2/windows

- Copy CORE_RL_* files to C:\wamp\bin\apache\bin\

- Edit php.ini file in C:\wamp\bin\apache\bin\php.ini, add extension=php_imagick.dll line in extensions section

- Copy all files from C:\imagemagick\modules\coders and C:\imagemagick\modules\filters to C:\imagemagick to load ImageMagick supported formats

- Go to Control Panel -> System -> Advanced Settings -> Environment Variables -> New System Variable -> MAGICK_HOME = C:\imagemagick

- Restart Wamp server and check phpinfo() for imagick plugin

- If last step does not work, restart Windows

Problem

There don't seem to be any concise tutorials/walk throughs for installing ImageMagick on WAMP for use with PHP. I've tried dozens of combinations of their binary releases with different php extension dll files. I can get imagemagick working fine from the command line, and I can get it to show as ticked in the WAMP extensions, but can't actually use it. Has anyone come across a good guide for installing this ball ache piece of software? I've followed http://www.knowledge-transfers.com/it/installing-imagemagick-on-windows-setup-imagick-on-php with no luck... Update: this is what happens when I follow the steps in PHP farmer's answer on windows7. My php.ini is setup as follows: ``` extension_dir = "c:/wamp/bin/php/php5.3.0/ext/" extension=php_imagick.dll ``` I reboot and get these two errors in this order and here is the dll file where it should be:

Original source

Related problems