在WAMP上安装IMAGEMAGICK的分步说明? [英] step-by-step instructions for installing IMAGEMAGICK on WAMP?
问题描述
似乎没有任何简洁的教程/演练来在WAMP上安装ImageMagick以便与PHP一起使用。
我已经尝试了几十种他们的组合二进制版本与不同的PHP扩展DLL文件。我可以从命令行获得imagemagick工作正常,我可以在WAMP扩展中显示它,但实际上无法使用它。
有没有人遇到安装这个软件的好指南吗?
我跟着
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:
- Download ImageMagick Binary Release - http://www.imagemagick.org/script/download.php
- Install in C:\imagemagick, on last step check "Add application directory to your system path"
- Download Imagick DLL: PHP5.6.x version from http://www.peewit.fr/imagick/ (I have 5.6+ version installed on my localhost
- Copy php_imagick.dll to C:\wamp\bin\php\ext
- Download PHP 5.6 Thread Safe (TS) x86 version from http://pecl.php.net/package/imagick/3.1.2/windows
- Copy CORE_RL_* files to C:\wamp\bin\apache\bin\
- Edit php.ini file in C:\wamp\bin\apache\bin\php.ini, add extension=php_imagick.dll line in extensions section
- Copy all files from C:\imagemagick\modules\coders and C:\imagemagick\modules\filters to C:\imagemagick to load ImageMagick supported formats
- Go to Control Panel -> System -> Advanced Settings -> Environment Variables -> New System Variable -> MAGICK_HOME = C:\imagemagick
- Restart Wamp server and check phpinfo() for imagick plugin
- If last step does not work, restart Windows
这篇关于在WAMP上安装IMAGEMAGICK的分步说明?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!