installing ImageMagick on windows with wamp

After wamp installation on windows ImageMagick extension is not installed by default. Installing ImageMagick on windows with wamp is quite simple like other extension installation.

To install ImageMagick on windows follow below listed 7 steps

Step 1: go to http://www.imagemagick.org/script/binary-releases.php#windows and download latest version of imagemagick windows-dll.exe

Step 2: download php_imagick.dll from http://www.dlldll.com/php_imagick.dll_download.html

Step 3: install imagemagick(*.*.*)windows-dll.exe

Step 4: copy php_imagick.dll to (*)wampbinphpphp5.2.5ext directory

Step 5: add extension=php_imagick.dll line on (*)wampbinphpphp5.2.5 directory php.ini file

Step 6: restart your apache/wamp

Step 7: now run phpinfo with http://localhost/?phpinfo=1

See that there is a news extension installed “imagick” with information like below images

ImageMagick
ImageMagick Extension

9 thoughts on “installing ImageMagick on windows with wamp

  1. Hi,

    I followed your steps, getting no result. Can you please tell me which one will be the installation directory (“Step 3: install imagemagick(*.*.*)windows-dll.exe”)?
    I think this can be a matter.

    Thanks in advance.

    Like

      1. Did you finished above listed all steps? Check on your system environment variable path contain C:Program FilesImageMagick-6.6.9-Q16; or not. If not then add it here and try again.

        Like

  2. Yes, Imagick has been successfully installed. But when trying any Imagick function to the browser it is returning an error “Apache HTTP Server has encountered a problem and needs to close. We are sorry for the inconvenience.”. Please help.

    Like

  3. I follow your tutorial but wamp don’t run, it have the yellow icon in tray icon. Into apache error log I don’t see nothing. Help me!

    Like

    1. Are you running wamp with skype type any software? if, then you can signout them and first of all run wamp then use them. Try on this way…

      Like

  4. I have Installed the ImageMagick 6.8.6-4 Q8 (32-bit) and I also installed the php_imagick.dll file after i restart the Apache . 
    I run this code in IDE but i getting the error like …Apache HTTP Server has encountered a problem and needs to close.  We are sorry for the inconvenience. 

    $im = new Imagick();
        echo $im;
        echo $im->newPseudoImage(1000, 1000, “bluebells_clipped.jpg”);
        $im->setImageFormat(“jpg”);
        $im->roundCorners(5,8);
        $type=$im->getFormat();
        header(“Content-type: $type”);
        echo $im->getimageblob();
     

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: