SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member amit_kuetcse2k5's Avatar
    Join Date
    Oct 2010
    Location
    Dhaka,Bangladesh
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Install imagemagick on windows with xampp

    Hello,

    I cannot configure imgick on windows with xammp.please help me?

    Thanks
    Amit

  2. #2
    SitePoint Mentor silver trophy
    Rubble's Avatar
    Join Date
    Dec 2005
    Location
    Cambridge, England
    Posts
    2,357
    Mentioned
    80 Post(s)
    Tagged
    3 Thread(s)
    Imagick or Imagemagick ?

    Anyway you need to download and install Imagemagick from:
    imagemagick
    If you are going to use any text with ImageMagick install Ghostscript FIRST.

    Restart the Apache server,
    Run this code in your browser to prove it is installed and working.
    PHP Code:
    <?php  
    header
    ("Content-Type: text/plain");  
    system("convert -version");  
    ?>
    ImageMagick is installed at this stage - if you want Imagick carry on,

    Then you need to find a suitable dll for Imagick - only the correct one for the php version will work. You need to from memory put it in the Windows 32 folder? Then uncomment the imagick line in the php.ini file. I found I had 3 php.ini files on my PC ( no idea why ) and so I uncommented it in all 3 to be sure.

    The hardest part will be getting the correct .dll for Imagick if you decide to use it. I do not use it as it is not well supported, documented, as easy to use and has limited options.

  3. #3
    SitePoint Wizard bronze trophy Immerse's Avatar
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    1,661
    Mentioned
    7 Post(s)
    Tagged
    1 Thread(s)
    I spent three days trying to get Imagick working on Windows, including compiling stuff myself.

    Ended up going back to Ubuntu, takes all of 5 minutes to set up an entire LAMP server including Imagick.

    Getting Imagick to run on Windows is nigh-on impossible, unfortunately.

  4. #4
    SitePoint Mentor silver trophy
    Rubble's Avatar
    Join Date
    Dec 2005
    Location
    Cambridge, England
    Posts
    2,357
    Mentioned
    80 Post(s)
    Tagged
    3 Thread(s)
    I had a couple of problems to get it sorted but if you use my method it should be straight forward to install Imagick but as I say I can not see the point.

    The location of the dll should be xampp\php\ext


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •