PHP, ImageMagick, and MagickWand on Windows

by justin carlson on 12/10/2008
Do you want to setup ImageMagick and/or MagickWand on Windows? Here's what I did to get it working.

I'm running PHP 5.2.6 on a Windows XP machine with Apache 2.0.x

Install ImageMagick: ... static.exe ... ws-dll.exe

Download whichever ImageMagick dll you want ( I'm using : php_imagick_dyn-Q8.dll )

Download a MagickWand dll from here or here ( I'm using: php-5.2.4_magickwand_q8_st.dll )

Put those two dll files in your PHP ext directory. Hopefully that's C:\PHP\ext or a path without spaces.

Edit your php.ini and add these lines at the bottom:

[Image Magic and Wand]

Restart apache and enjoy!

PS, in your phpinfo(); you should see:

imagick module    enabled
imagick module version     2.2.1-dev
imagick classes     Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
ImageMagick version     ImageMagick 6.4.7 2008-12-08 Q8
ImageMagick copyright     Copyright (C) 1999-2009 ImageMagick Studio LLC
ImageMagick release date     2008-12-08
ImageMagick Number of supported formats:     204


MagickWand Backend Library    ImageMagick
MagickWand Extension Version     1.0.5
ImageMagick support     enabled
ImageMagick version     ImageMagick 6.3.5 09/21/07 Q16
ImageMagick QuantumRange (MaxRGB)     65535


Trackback URL for this entry:

No trackback comments for this entry.
PHP, ImageMagick, and MagickWand on Windows | 0 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.