Page 1 of 1

Installation of Image Magick on Wamp

Posted: 2012-02-08T11:14:06-07:00
by Loveleen
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-window ... ick-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,

Code: Select all

 '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.

Re: Installation of Image Magick on Wamp

Posted: 2012-02-08T11:45:03-07:00
by Bonzo
I did the same as you in xampp except for not doing step 2/ and in step 3/ I used a dll I found online and it used to worked OK.

Unless you have to have Imagick I would not bother with it and use exec() with the command line options. Imagick does not seem very well supported, documentd or have as many options.

Re: Installation of Image Magick on Wamp

Posted: 2012-02-08T12:30:21-07:00
by Loveleen
Any idea on which Windows binaries should I pick for the extension?

Re: Installation of Image Magick on Wamp

Posted: 2012-02-08T12:38:40-07:00
by Bonzo
Have you checked out this site: Mikko's blog

Re: Installation of Image Magick on Wamp

Posted: 2012-02-08T15:18:40-07:00
by Loveleen
Yes, I did but it didnt work

Re: Installation of Image Magick on Wamp

Posted: 2012-10-03T09:35:09-07:00
by twiitanen
I too am having issues. I have tried many, many versions, as well as Mikko's suggestions. I would even welcome an older version if I knew which is the correct DLL to use.

Please help. I prefer using the PHP API Imgick();

Re: Installation of Image Magick on Wamp

Posted: 2013-05-28T18:11:58-07:00
by holdoffhunger
Second! I'm not just having issues with installing ImageMagick on Wamp, but it also destroyed a harddrive on Kubuntu when I tried to update it with it's unusual "dependent packages".

Getting ImageMagick to work anywhere seems to be a tremendous pain. You're lucky you never coded anything in ImageMagick, because then you'd simply have wasted all of your time.

Re: Installation of Image Magick on Wamp

Posted: 2013-05-28T18:15:11-07:00
by fmw42
Perhap http://www.imagemagick.org/Usage/windows/ will give you some ideas. Sorry I am not a Windows user.