简体   繁体   中英

php - unable to load & use Imagick (DLL errors) (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.

您可能正在寻找这个: http://valokuva.org/ ://valokuva.org/在那里,您将找到有关如何在Windows上安装imagick的步骤。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM