Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install ImageMagick for WAMP 2.5

WAMP does not come with ImageMagick PHP extension installed, how do I install it manually? All the tutorials I have found seem outdated and too confusing.

like image 991
yodalr Avatar asked Dec 15 '22 11:12

yodalr


1 Answers

I got ImageMagick to work on WAMP 2.5 on Windows 8.1 . Here's what I did.

  1. Download the latest ImageMagick here: http://imagemagick.org/script/download.php#windows

  2. Install it here (It should be ticked by default, but make sure you tick the "Add application directory to your system path" when installing): C:\imagemagick

  3. Go to the latest folder created and download the latest zip file from here (with x64 or x86 matching your ImageMagick install file): http://windows.php.net/downloads/pecl/releases/imagick/

  4. Extract the php_imagick.dll from that file to here: C:\wamp\bin\php\php5.5.12\ext\

  5. Open php.ini file in text editor from here C:\wamp\bin\apache\apache2.4.9\bin\

  6. Search for commented line "Windows Extensions" and under the extensions list (for me the last one is extension=php_pdo_sqlite.dll) add: extension=php_imagick.dll

Then RESTART your computer and ImageMagick should work, it did for me at least.

like image 145
yodalr Avatar answered Dec 25 '22 10:12

yodalr