Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I did the following yet the image Magick extension doesn't get loaded

  1. I downloaded and installed the binary ImageMagick-6.7.5-3-Q16-windows-dll.exe at c:/imagemagick
  2. added to the httpd.conf file SetEnv MAGICK_HOME c:/imagemagick
  3. downloaded the Windows binaries for imagick 2.3.0 compiled with VC6 (threaded) from http://www.sk89q.com/2010/03/vc6-windows-binaries-for-imagick-2-3-0/ and placed in the php extension folder.
  4. added this line to php.in extension=php_imagick.dll
  5. restarted the wamp server

The wamp tray shows the extension as enabled but apache error log shows the error,

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

My wamp server version is 2.2

The phpinfo doesnt show the imagick extension to be loaded. Any help would be appreciated.

share|improve this question

migrated from stackoverflow.com Oct 11 '12 at 14:40

This question came from our site for professional and enthusiast programmers.

Maybe try setting the user permissions of the .dll file? –  Thomas Apr 20 '12 at 10:25
VC6? Are you running Windows 98 or something? –  Michael Hampton Oct 11 '12 at 15:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.