简体   繁体   English

安装PHP Imagick

[英]Install PHP Imagick

I downloaded the zip from this link and copied php_imagick.dll file to ext directory on my windows pc (attachment1.png). 我从此链接下载了zip,并将php_imagick.dll文件复制到了Windows pc(attachment1.png)上的ext目录。 attachment1.png

But when i open cmd and type php -v , I get this warning(attachment2.png). 但是当我打开cmd并输入php -v时 ,我得到了这个警告(attachment2.png)。 I even tried the NTS and x64 versions as well but with no luck. 我什至也尝试过NTS和x64版本,但是没有运气。 attachment2.png

Here's my image magick details. 这是我的图像魔术细节。 imagemagick.png

Somebody help please. 请有人帮忙。 Thanks 谢谢

Sometimes libraries fail to load with that message and the real problem is that the library can't be loaded because of another missing library that they need. 有时,库无法加载该消息,而真正的问题是,由于需要另一个缺少的库,因此无法加载该库。

The vc14 in the zip that you downloaded means that version of ImageMagick was compiled with Visual Studio 2015, so it require the Microsoft Visual C++ 2015 Redistributable Package for 32 bits (x86) for working, check that you have it installed (note that there are versions for 32 and 64 bit, you need the 32 bit version in this case, you can have both versions installed if needed). 您下载的zip中的vc14表示ImageMagick的版本是使用Visual Studio 2015编译的,因此它需要32位(x86)的Microsoft Visual C ++ 2015可再发行组件包才能工作,请检查是否已安装它(请注意有版本分别适用于32位和64位版本,在这种情况下,您需要32位版本,如果需要,您可以同时安装两个版本)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM