doudi7782 2013-05-03 10:10
浏览 259
已采纳

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.

  • 写回答

1条回答 默认 最新

  • dongliao1948 2013-05-03 10:33
    关注

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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制