将 ImageMagick 安装到 Xampp/Windows 7 [英] Installing ImageMagick Onto Xampp/Windows 7

查看:19
本文介绍了将 ImageMagick 安装到 Xampp/Windows 7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我从 cmd 测试 ImageMagick 时它正在工作,但是当我将它用于 Xampp 并重新启动它时,我收到的错误消息是:httpd.exe-Entry Point Not Found.无法在动态链接库 CORE_RL_wand_.dll 中找到过程入口点 MagickGetImageGravity.

ImageMagick is working when I test it from cmd but when using it for Xampp and restarting it then the error message I receive is:httpd.exe-Entry Point Not Found. The procedure entry point MagickGetImageGravity could not be located in the dynamic link library CORE_RL_wand_.dll.

第二条消息是 PHP StartUp: Unable to load dynamic library C:xamppphpextphp_imagick.dll- The specified procedure could not be Found.

The second message is PHP StartUp: Unable to load dynamic library C:xamppphpextphp_imagick.dll- The specified procedure could not be Found.

我很确定第二个错误消息是由第一个错误引起的.可能是错误的dll.我在运行 PHP 5.3.5 和 Apache 2.2.17 的 Windows 7 64 位上.谢谢

I'm pretty sure second error message is caused by first error up top. Probably wrong dll. I'm on Windows 7 64 BIT running PHP 5.3.5 and Apache 2.2.17. Thanks

推荐答案

我的参考是这个 page

使用 VC9 (Visual Studio 2008) 编译的 ImageMagick 6.8.0 二进制文件.我注意到 ImageMagick 的官方版本现在是 Visual Studio 2010,它不适用于使用 2008 编译的 PHP.请参阅 phpInfo() 并搜索 compilerphp version.

ImageMagick 6.8.0 binaries compiled with VC9 (Visual Studio 2008). I noticed that the official ImageMagick builds are now Visual Studio 2010 and that wouldn’t work well with PHP compiled with 2008. see phpInfo() and search for compiler and php version.

二进制文件的下载链接在这里:imagick-php54-php53.tgz

The download link for the binaries is here: imagick-php54-php53.tgz

我下载这个文件夹并将php54 -> php_imagick_ts.dll 复制到xamppphpext

I download this folder and copy php54 -> php_imagick_ts.dll to xamppphpext

我的 PHP 版本是:PHP 版本 5.4.4

My PhP Version is : PHP Version 5.4.4

然后将其重命名为 php_imagick.dll.最后重启你的 appache 服务器.

then rename it to php_imagick.dll. At the end restart your appache server.

这篇关于将 ImageMagick 安装到 Xampp/Windows 7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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