php - 无法加载和使用Imagick(DLL错误)(Windows 8)

I have downloaded and installed Imagick, added it to the system path and successfully tested the installation.

Also, I've downloaded the php_imagick.dll and put it in my php/ext/ folder.
Finally, I added this extension=php_imagick.dll in the php.ini file.

(Following this tutorial)

Running php via localhost gives me the following error (php does not crash):

Fatal error: Class 'Imagick' not found in C:\wamp\www\ ...

When inspecting dependencies of php_imagick.dll with a program called 'Dependency Walker', I see the this.

Tried to fix it (without success) by :

  • using different versions of Imagick installation
  • using older php_imagick.dll versions
  • multiple reboots of the system
  • relocating dependent dll's (this causes a dependency 'cannot find' chain reaction)

So, I think I'm supposed to look for a dependency location fix, but I haven't found one yet.

You are probably looking for this: http://valokuva.org/ There you will find steps on how to install imagick on windows.