在WAMP上安装IMAGEMAGICK的分步说明? [英] step-by-step instructions for installing IMAGEMAGICK on WAMP?

查看:345
本文介绍了在WAMP上安装IMAGEMAGICK的分步说明?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎没有任何简洁的教程/演练来在WAMP上安装ImageMagick以便与PHP一起使用。



我已经尝试了几十种他们的组合二进制版本与不同的PHP扩展DLL文件。我可以从命令行获得imagemagick工作正常,我可以在WAMP扩展中显示它,但实际上无法使用它。



有没有人遇到安装这个软件的好指南吗?



我跟着

  • 安装在 C:\ imagemagick 中,最后一步检查将应用程序目录添加到您的s系统路径

  • Imagick DLL:PHP5.6.x 版本/ imagick /rel =nofollow noreferrer> http://www.peewit.fr/imagick/ (我的localhost上安装了5.6+版本

  • 复制 php_imagick.dll C:\ wamp \bin\php \ text

  • 下载 PHP 5.6线程安全来自 http://pecl.php的(TS)x86 版本。 net / package / imagick / 3.1.2 / windows

  • CORE_RL _ * 文件复制到C:\ wamp \ bin \ apache \\ \\ b \\ b
  • 编辑 C:\ wamp \ bin \apache \ bin \ php.ini中的 php.ini 文件,在扩展程序部分添加 extension = php_imagick.dll

  • C:\ imagemagick \modules \复制所有文件编码器 C:\ ima gemagick \modules \过滤器 C:\ imagemagegick 加载ImageMagick支持的格式

  • 转到控制面板 - >系统 - >高级设置 - >环境变量 - >新系统变量 - > MAGICK_HOME = C:\ imagemagick

  • 重新启动Wamp服务器并检查phppinfo()是否为imagick插件

  • 如果最后一步不起作用,请重启Windows


  • There don't seem to be any concise tutorials/walk throughs for installing ImageMagick on WAMP for use with PHP.

    I've tried dozens of combinations of their binary releases with different php extension dll files. I can get imagemagick working fine from the command line, and I can get it to show as ticked in the WAMP extensions, but can't actually use it.

    Has anyone come across a good guide for installing this ball ache piece of software?

    I've followed http://www.knowledge-transfers.com/it/installing-imagemagick-on-windows-setup-imagick-on-php with no luck...


    Update: this is what happens when I follow the steps in PHP farmer's answer on windows7. My php.ini is setup as follows:

    extension_dir = "c:/wamp/bin/php/php5.3.0/ext/"
    
    extension=php_imagick.dll
    

    I reboot and get these two errors in this order

    and here is the dll file where it should be:

    解决方案

    I know this is old post but I spend my all day to make it work, so here are the steps that helped me:

    1. Download ImageMagick Binary Release - http://www.imagemagick.org/script/download.php
    2. Install in C:\imagemagick, on last step check "Add application directory to your system path"
    3. Download Imagick DLL: PHP5.6.x version from http://www.peewit.fr/imagick/ (I have 5.6+ version installed on my localhost
    4. Copy php_imagick.dll to C:\wamp\bin\php\ext
    5. Download PHP 5.6 Thread Safe (TS) x86 version from http://pecl.php.net/package/imagick/3.1.2/windows
    6. Copy CORE_RL_* files to C:\wamp\bin\apache\bin\
    7. Edit php.ini file in C:\wamp\bin\apache\bin\php.ini, add extension=php_imagick.dll line in extensions section
    8. Copy all files from C:\imagemagick\modules\coders and C:\imagemagick\modules\filters to C:\imagemagick to load ImageMagick supported formats
    9. Go to Control Panel -> System -> Advanced Settings -> Environment Variables -> New System Variable -> MAGICK_HOME = C:\imagemagick
    10. Restart Wamp server and check phpinfo() for imagick plugin
    11. If last step does not work, restart Windows

    这篇关于在WAMP上安装IMAGEMAGICK的分步说明?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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