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 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
  • ¥15 数据可视化Python
  • ¥15 要给毕业设计添加扫码登录的功能!!有偿
  • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
  • ¥15 微信公众号自制会员卡没有收款渠道啊
  • ¥15 stable diffusion
  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条