Where to find php_imagick.dll for php 5.5.12 for Windows wampserver 2.5?

∥☆過路亽.° 提交于 2019-11-28 06:06:54

Manual installation of imagick on Wamp, Xampp, and IIS

  1. Create a folder imagick in php/ext folder.
  2. Now add this newly created php/ext/imagick folder to windows path.
  3. Download the latest version of imagick for windows from this link. http://windows.php.net/downloads/pecl/releases/imagick/
  4. Download php extension of imagick from this link. http://windows.php.net/downloads/pecl/deps/
  5. Before downloading these 2 zip files, match the file name of your installation with your php. for eg. php_imagick-3.2.0b2-5.5-nts-vc11-x86.zip
    -Here 5.5 is the version of php
    -nts is for IIS and windows (wamp) and ts is for Apache and Linux (xampp)
    -VC11 and VC9 are the version of compilation, run phpinfo and check that it match with your php version.
    -x86 is for 32 bit x64 is for 64 bit machines, i recommend use x86 only
  6. Once you have downloaded the correct version for your php, extract the downloaded file to imagick folder you have added to path, take all files from bin folder to the root of imagick and replace all
  7. Add full path to php_imagick.dll in php.ini like extension=C:\wamp\php\ext\imagick\php_imagick.dll
  8. Restart your computer for path to take effect. Then open command and type dcraw and press enter. if you have added the path correctly a list of parameters will be shown, your Imagick is installed sucessfully.
  9. Run phpinfo again and you will see Imagick listed as extension.

I would add a small, but crucial advice, becaues it took me 10 hours of sunday, to get it working.

This is for Win7/10 x64 and Wamp 2.5 x64

There is a php.ini file in apache/bin folder and there should be added a new line with php_imagick.dll extension :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!