Trying to get imagick running on PHP 5.4.3 at Windows x64

Frederico Schardong picture Frederico Schardong · Mar 16, 2013 · Viewed 17.5k times · Source

I have Windows 7 64 bits, PHP 5.4.3 installed through WAMP 2.2 and imagick (ImageMagick-6.8.3-9-Q16-x64-dll.exe). I tried to use the php's dll of imagick from a lot of sources but all of them give this error in apache_error.log:

PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.4.3/ext/php_imagick.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0

Any thoughts on how to solve this?

Answer

an_animal picture an_animal · Mar 22, 2013

perhaps this can help you: step-by-step instructions for installing IMAGEMAGICK on WAMP? and

http://www.elxsy.com/2009/07/installing-imagemagick-on-windows-and-using-with-php-imagick/

"Just to make things clear, all the PHP dll files (librarires) are 32 bit, so if your system is 64 bit and you will still need to download and operate 32 bit ImageMagick, Apache, etc."