在 wampserver 2.2 上安装 php_imagick.dll PHP 扩展 [英] Installing php_imagick.dll PHP extension on wampserver 2.2

查看:38
本文介绍了在 wampserver 2.2 上安装 php_imagick.dll PHP 扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 32 位操作系统的 Windows 7.

I am on Windows 7 on a 32-bit OS.

我从 Link 安装了 ImageMagick-6.8.7-Q16,我能够从命令行运行 ImageMagick(转换"命令).

I installed ImageMagick-6.8.7-Q16 from Link and I was able to run ImageMagick from command line ("convert" command).

然后我从http://下载了php_imagick.dll的VC9版本pecl.php.net/package/imagick/3.1.2/windows.

我放在PHP扩展目录下.我尝试了 NTS 和 TS 但他们推荐了 TS.

I placed in the PHP extension directory. I tried both NTS and TS however they recommended TS.

然后我对 php.ini 文件进行了更改,但扩展名无法加载.在 apache 错误日志中它说:

Then I made changes to php.ini file but the extension wouldn't load. In apache error log it says:

PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.13/ext/php_imagick.dll' - The specified module could not be found.\r\n in Unknown on line 0
<br />
<b>Warning</b>:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.13/ext/php_imagick.dll' - The specified module could not be found. 

in <b>Unknown</b> on line <b>0</b><br />

我正在使用 wamp server 2.2,它也是使用 VC9 编译的.我想在 PHP 脚本中使用 Imagick 函数.

I am using wamp server 2.2 which is compiled using VC9 as well. I want to use Imagick functions in PHP scripts.

非常感谢您对解决此问题的任何帮助.

Any help with fixing this issue is highly appreciated.

推荐答案

我遇到了同样的问题,这是我的配置:

I had this same problem, here is my configuration:

Windows 8.1 64 位
PHP 5.4(线程安全)
阿帕奇 2.2

Windows 8.1 64Bit
PHP 5.4 (Thread Safe)
Apache 2.2

我尝试安装最新版本的 ImageMagick,但无法加载,我通过安装以下版本(6.7.7-5-Q16 32 位)解决了该问题,并且在 http://ftp.icm.edu.pl/packages/ImageMagick/binaries/ImageMagick-6.7.7-5-Q16-windows-dll.exe.

I tried to install the Latest Version of ImageMagick but its fail to load and I solved by installing the following version (6.7.7-5-Q16 32bit) and its worked fine with http://ftp.icm.edu.pl/packages/ImageMagick/binaries/ImageMagick-6.7.7-5-Q16-windows-dll.exe.

安装后从链接下载 imagick dll (imagick 3.1.2 Thread Safe)

after install download imagick dll from the link (imagick 3.1.2 Thread Safe )

http://pecl.php.net/package/imagick/3.1.2/窗口

重启apache并开始工作后

after restarted apache and start working

这篇关于在 wampserver 2.2 上安装 php_imagick.dll PHP 扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆