我有 Windows 7 64 位,通过 WAMP 2.2 和 imagick (ImageMagick-6.8.3-9-Q16-x64-dll.exe
) 安装了 PHP 5.4.3。我尝试使用来自很多来源的 imagick 的 php dll,但它们都在 apache_error.log 中给出了这个错误:
PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.4.3/ext/php_imagick.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0
关于如何解决这个问题有什么想法吗?
最佳答案
也许这可以帮助你: step-by-step instructions for installing IMAGEMAGICK on WAMP? 和
http://www.elxsy.com/2009/07/installing-imagemagick-on-windows-and-using-with-php-imagick/
“澄清一下,所有的 PHP dll 文件(库)都是 32 位的,所以如果你的系统是 64 位的,你仍然需要下载和运行 32 位的 ImageMagick、Apache 等。”
关于php - 试图让 imagick 在 Windows x64 的 PHP 5.4.3 上运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15445493/