Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing ImageMagick Onto Xampp/Windows 7

ImageMagick is working when I test it from cmd but when using it for Xampp and restarting it then the error message I receive is:httpd.exe-Entry Point Not Found. The procedure entry point MagickGetImageGravity could not be located in the dynamic link library CORE_RL_wand_.dll.

The second message is PHP StartUp: Unable to load dynamic library C:\xampp\php\ext\php_imagick.dll- The specified procedure could not be Found.

I'm pretty sure second error message is caused by first error up top. Probably wrong dll. I'm on Windows 7 64 BIT running PHP 5.3.5 and Apache 2.2.17. Thanks

like image 377
user1028529 Avatar asked Jan 18 '23 02:01

user1028529


2 Answers

My refrence is this page

ImageMagick 6.8.0 binaries compiled with VC9 (Visual Studio 2008). I noticed that the official ImageMagick builds are now Visual Studio 2010 and that wouldn’t work well with PHP compiled with 2008. see phpInfo() and search for compiler and php version.

The download link for the binaries is here: imagick-php54-php53.tgz

I download this folder and copy php54 -> php_imagick_ts.dll to xampp\php\ext

My PhP Version is : PHP Version 5.4.4

then rename it to php_imagick.dll. At the end restart your appache server.

like image 146
Mohammad Torkashvand Avatar answered Jan 29 '23 13:01

Mohammad Torkashvand


I had this same problem and banged my head against all kinds of possible solutions before finally finding a combination of Imagick builds and dll's that would play nicely with my setup. Here's what finally worked for me:

  • 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 http://www.peewit.fr/imagick/

Once I finally had this set up, Apache finally started without any errors. Hopefully it works for you, too!

like image 26
Chris Stocking Avatar answered Jan 29 '23 12:01

Chris Stocking