Viewed   100 times

I have been trying for hours to get ImageMagick working on my localhost (running XAMPP 1.8.3 on Windows 7). I have checked and tried literally every solution that I can find on this website, and dozens of others. Nothing works. No matter what combination of ImageMagick builds and imagick DLLs I try, I always get some kind of "can't find dll" error when I try to start Apache (the specific message varies based on what combination I'm trying, but it's always some sort of missing DLL message). Can anyone just give me a (moderately recent) combination of XAMPP/ImageMagick/Imagick that works?



OK. I finally found a combination that works. After MUCH trial and error, I was finally able to get the below combination to work on my machine. Hopefully it works for anyone else who might be struggling with this.

  • OS: Windows 7 64 Bit
  • PHP: 5.5.6
  • XAMPP: 1.8.3
    • Compiler: MSVC11
    • Architecture: x86
  • ImageMagick: ImageMagick-6.7.7-5-Q16-windows-dll (available here)
  • Imagick DLL: PHP5.5.x version from

Note: Once I tried this, Apache started without any error messages. I did not have to restart my computer (just restarted Apache). I do have ImageMagick installed in a directory that has no spaces in the name (as some have suggested that might be a problem with some installs). In my case, I installed it to c:xamppimagemagick.

Best of luck to you!

Monday, October 24, 2022

first uninstall and the things you tried, then try these steps

Friday, November 11, 2022

->getImagePixelColor() returns an ImagickPixel object anyways, so $pixel->setColor(...); is all you need:


Wednesday, September 14, 2022

Check device drivers in Device Manager, see if any are set to "allow this device to wake computer", disable them.

Saturday, October 15, 2022

Windows 7 would have to be the last OS installed. The XP bootloader may be unable to handle Windows 7, but the other way around is likely fine. Try fixing your mbr (/fixmbr) from a Win 7 recovery console.

Thursday, August 25, 2022
Only authorized users can answer the search term. Please sign in first, or register a free account.
Not the answer you're looking for? Browse other questions tagged :