php_imagick 错误,未捕获的异常 'ImagickException' 消息为“无法加载模块”

php_imagick error, Uncaught exception 'ImagickException' with message 'unable to load module

我正在尝试让 php_imagick 扩展在 windows 8.1 x64 中工作。

我有来自 Apachelounge 的 Apache 2.4.12 x86php 5.6.5ImageMagick -6.9.0-6-Q16-x86,并从 pecl 服务器下载 php_imagick-3.2.0b2-5.6-ts-vc11-x86

一切似乎都很好。我在 phpinfo() 中列出了 imagick 以及 179 种支持的格式。

但是每当我尝试使用 Imagick 打开图像时,我都会收到如下错误:

Uncaught exception 'ImagickException' with message 'unable to load module `D:_Server\ImageMagick\modules\coders\IM_MOD_RL_png_.dll': The specified procedure could not be found

我应该怎么做才能解决这个问题?

似乎安装旧版本的 ImageMagick 可以解决问题![​​=10=]

我为此找到的另一个解决方案是 运行 我的 IDE 作为管理员。我也在使用 Windows 8.1 x64 并且这样做解决了问题并且不需要安装旧版本。我的 IDE 是 Visual Studio。