PHP 5.5.12 php_imagick.dll无效。 %1不是有效的W32应用程序

时间:2016-10-26 06:29:33

标签: php dll imagick php-extension

我想在我的系统上安装Php ImageMagick。工作两天但无法安装。我有我的系统的以下配置:

  

PHP 5.5.12,Wamp 2.5,Win64但Php使用Win32扩展。

以下是我所面临的错误:

  1. 添加Win64的php_imagick.dll时出错。
  2. enter image description here

    1. 添加Win32的php_imagick.dll时出错。
    2. enter image description here

      以下是我提供帮助的链接,但对我不起作用。

      https://github.com/WPN-XM/WPN-XM/issues/222

      ImageMagick - "CORE_RL_magick_.dll not found" or how to install RMagick on windows with ruby 1.9.2

      请不要将其标记为重复,因为我尝试了所有链接但不适合我。这里需要专家建议。感谢

1 个答案:

答案 0 :(得分:1)

尝试在此处下载imagick库: http://www.peewit.fr/imagick/

选择与您的php版本对应的线程安全版本,并用它替换您的imagick dll。

另外,请勿忘记安装Imagick:http://www.imagemagick.org/script/binary-releases.php

您需要ImageMagick - * - Q16-x64-dll.exe安装程序文件。 在Windows 7上使用PHP 5.5,XAMPP,这对我来说很好。