Note: this ZIP also contains dlls which other guides says to extract to the extension folder of apache. NO NEED TO DO IT. Step #3 has taken care of it.

6. Edit "php.ini" and add at the very end (could be anywhere I suppose):

[Imagick] extension=php_imagick.dll

For super newbies: click the edit button in the UwAmp UI, "php_uwamp.ini" will open and edit it. It will be copied to the correct php.ini when UwAmp is restarted. I had trouble at first since there are several php*.ini scattered all over.

In my case I downloaded: ImageMagick-6.9.3-7-vc11-x86.zip because the Architecture under PHPInfo is x86 as for vc11 or vc14 search google for "visual c++ 11 runtime" or "visual c++ 14 runtime" and install it

3. Unzip and copy all dlls from the bin subfolder to the Apache bin directory. It's a bunch of CORE_RL_*.dll and IM_MOD_RL_*.dll plus a few other dlls.

After 2 hours of looking for help from different documentation & sites, I found out none of them are complete solution. So, I summary my instruction here:

1) yum install php-devel2) cd /usr3) wget http://pear.php.net/go-pear4) php go-pear5) See the following line in /etc/php.ini [include_path=".:/usr/PEAR"]6) pecl install imagick7) Add the following line in /etc/php.ini [extension=imagick.so]8) service httpd restart

NOTE: For some of the package dependencies you will be prompted to select optional add-ons. I left all the config options untouched except for those which provided integration with the X11 system. Those once I disabled.

Windows installation is a bit more tricky since "pecl install imagick" does NOT work properly.

Here's how I installed it:1/ Install ImageMagick software http://www.imagemagick.org/script/binary-releases.php#windows2/ Download pecl-5.2-dev.zip (choose the version relevant to your PHP) from http://snaps.php.net/3/ Copy php_imagick.dll from the archive you've downloaded to your PHP extention folder.4/ Add the following line to php.ini (in the exntentions section):extension=php_imagick.dll5/ Restart your server6/ Try the example script to see all went well

So, your installation in general works so that you can display the output from a PHP script-- even phpinfo(); works. Great start. If not, you likely have bigger problems or are compiling imagick into PHP. Best of luck.

But, back to where we are; PHP in general works, except the imagick extension isn't working or needs installed or something.

There is some very helpful information in the phpinfo(); output blocks.(If phpinfo(); means nothing to you, hit the google. We'll wait.)

Notably the php.ini that PHP is using can be found there, very important. --Many instructions will tell you to put "extension=imagick" into it.

Better would be to create an imagick.ini file (that has "extension=imagick" inside) in the directory scanned for additional .ini files.

This is nice when the machine you are working on has multiple php.ini files and unused configurations littered about. phpinfo(); will tell you where the resources being used can be located in the file system.

2. Go to http://pecl.php.net/package/imagick and choose the version of imagick that best suits your PHP version. (Because I had PHP 5.4 I downloaded "php_imagick-3.3.0-5.4-ts-vc9-x86.zip".

3. Extract the contents of the zip file and go to the directory where the files were extracted.

4. Copy the php_imagick.dll in yout PHP's ext folder.

5. All the other dll that you extracted from the zip file can go into apache's bin directory. In my case, I have apache 2.2 and the bin directory is at: C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin.

Addendum to Ian Co's "Steps to Install ImageMagick for Windows" specifically for Uniform Server Z and how to fix if you get an empty list of ImageMagick supported formats):

Thanks to Ian Co's comments above for setting me in the right direction.

My Uniform Server is installed to B:\UniServerZ, adjust the following steps to your specific installation.

If you've been messing around with a gazillion solutions like me, first delete any previous copies of imagemagick dll-s (i.e. IM_MOD_RL...dll-s, CORE_RL...dll-s) from your sysem, i.e. I had copied them to C:\Windows\system, B:\UniServerZ\core\php56, B:\UniServerZ\core\php56\extensions.

Extract contents of bin folder to B:\UniServerZ\core\php56 (or whichever vresion of php you are using)

2. Download the appropriate imagick package from http://pecl.php.net/package/imagick/3.1.2/windowsFor me the right one was php_imagick-3.1.2-5.6-ts-vc11-x86.zip , check phpinfo whether you need the thread-safe version or not and which architecture.

Extract php_imagemagick.dll ONLY (and not the other dll-s) to B:\UniServerZ\core\php56\extensions

Previously I had tried ImageMagick-6.9.3-7-vc11-x86.zip and ImageMagick-6.9.3-7-vc14-x86.zip but the dll-s here did not work, perhaps because Uniform Server was compiled using VC9? and these were compiled with later versions!? What a mess.

I had also tried creating a C:\ImageMagick and adding it to PATH user-level and to MAGICK_HOME system-level environment variables, but this proved unnecessary (although it also works).

Sins I tried around a lot and searched the net to find a working dll for ImageMagic and PHP5.4, with bad results I at last found one working.There is a guy (Mikko) that has a blog and he wrote about this and and have compiled a working solution. You find his blog about this here: http://valokuva.org/?m=201211.

For anyone attempting to install the binaries on windows xp, don't waste your time. You'll need to install this on windows 2003 Server (and up) or Windows Vista since there are dependences (msvcr80.dll) that will require it.

If you have used lampp first copy imagick.so from /usr/lib/php5/20060613+lfs/imagick.so path and paste it to php lib.(/opt/lampp/lib/php/extensions/no-debug-non-zts-20060613)Then edit your php.ini and add extension=imagick.so