首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ImageMagic不能在windows上工作

ImageMagic不能在windows上工作
EN

Stack Overflow用户
提问于 2015-11-10 08:18:14
回答 2查看 835关注 0票数 0

正如这个博客所建议的,博客

我的环境视窗7 64位xampp 5.6.12 32位

  1. 我安装了ImageMagic for windows (32位)
  2. 设置ImageMagic和MAGICK_HOME变量的环境路径
  3. 下载了php_imagick.dll并粘贴到C:\xampp\php\ext中,文件名以C:\xampp\apache\bin中的CORE_RL_*开头

现在,当apache启动时,它会显示错误。

程序无法启动,因为您的计算机缺少VCOMP110.DLL。尝试重新安装程序来解决这个问题。

我不知道为什么会发生这个错误。我还安装了vcredist_x86.exe

EN

回答 2

Stack Overflow用户

发布于 2015-11-10 12:03:10

您将收到以下错误消息:

The program can't start because VCOMP110.DLL is missing from your computer. Try reinstalling the program to fix this problem.

这意味着您没有安装Visual C++ Redistributable for Visual Studio 2012。您可以从以下页面下载它:https://www.microsoft.com/en-us/download/details.aspx?id=30679

票数 0
EN

Stack Overflow用户

发布于 2018-02-13 09:15:54

代码语言:javascript
复制
I am late here, but maybe it helps someone, you can check the Architecture using phpinfo(). 
ImageMagick + Imagick + PHP on XAMPP
Environment
Windows7
32bit OS
XAMPP v3.2.1
Step for install
Install Imagick (PHP Extention).
Install DLL of extension module.
Setting DLL.
1. Install ImageMagick (PHP Extention) under C:/
Install PHP Extention.
You must install correct version which corresponded to your OS version. i installed 32 bit version ImageMagick-6.9.1-10-Q16-x86-dll.exe.
Confirm extension_dir of phpinfo(); below is ok.
extention_dir C:/xampp/php/ext
2. Install DLL & Setting
2-1. Install PHP Extension
Install by PECL
!! Then confirm phpinfo(); you should select install.
Case of enabled > php_imagick.dll, TS
Case of disabled > php_imagick.dll, NTS

2-2. DLL file move into extension folder
php_imagick.dll in download folder move to C:/xampp/php/ext
2-3. CORE_RL_* move into Apache binary folder
CORE_RL_* file move into C:/xampp/apache/bin
2-4. Add extension to php.ini
You should write extension=php_imagick.dll on php.ini ( !! Write under [PECL] ).
3. Setting Environment
Add MAGICK_HOME to your environment PATH.
Try phpinfo();
4. convert image on CLI
>convert wizard: wizard.jpg
>convert wizard.jpg win:
But in this state, ImageMagick number of supported formats is 0 and ImageMagick supported formats is no value so you should do below.
All *_.dll file in C:/ImageMagick-6.9.1-Q16/modules/coders copy to C:/xampp/apache/bin
All *_.dll file in C:/ImageMagick-6.9.1-Q16/modules/filters copy to C:/xampp/apache/bin
All *_.dll file in C:/ImageMagick-6.9.1-Q16/modules/coders copy to C:/ImageMagick-6.9.1-Q16
All *_.dll file in C:/ImageMagick-6.9.1-Q16/modules/filters copy to C:/ImageMagick-6.9.1-Q16
Restart Apache

taken from:
http://hrt0kmt.hatenablog.com/entry/2015/05/27/170608
票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/33625513

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档