希望尽管类似的问题标题,这不是一个重复的问题。如何在Windows 7上安装ImageMagick(2)
我已经安装ImageMagick-6.7.5-6-Q16-windows-dll.exe
。
我已经php_imagick_dyn-Q16.dll
更名为php_imagick.dll
在PHP的ext
目录。我有extension=php_imagick.dll
在我的php.ini
。
我尝试运行一个基本测试:php -r "var_dump(class_exists('Imagick'));"
。
我得到这个错误:
PHP Startup: imagick: Unable to initialise module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options must match.
CLI has stopped working.
Windows can check online for a solution to the problem.
> Check online for a solution and close the program
> Close the program
我做了什么错?
你有没有尝试过使用更多的[最新版本](http://www.imagemagick.org/script/binary-releases.php#windows)? – jprofitt 2012-02-20 17:44:08
是的,实际上我拥有'.exe'的最新版本。 – 2012-02-20 17:53:38
下载页面列出6.7.5-6作为最新版本。看起来你在这里有一个是后面的几个版本。 – jprofitt 2012-02-20 18:15:53