简体   繁体   English

如何在 WAMP 服务器中安装 Imagic?

[英]how to install Imagic in WAMP server?

I am getting error php_imagick.dll is not working.我收到错误php_imagick.dll 不工作。 %1 is not a valid W32 application . %1 不是有效的 W32 应用程序

I am using WAMP Server Apaches 2.4.4.6 and PHP 7.4.9 .我正在使用 WAMP Server Apaches 2.4.4.6 和 PHP 7.4.9 my OS is windows 10 64bit.我的操作系统是 windows 10 64 位。 i think i download php_imagick-3.6.0rc2-7.3-nts-vc15-x64.zip file.我想我下载了 php_imagick-3.6.0rc2-7.3-nts-vc15-x64.zip 文件。

I have installed all DDL file in PHP7.4.9/ext/ and apply all process for install Imagic but still i am getting error我已经在PHP7.4.9/ext/中安装了所有 DDL 文件并应用了安装Imagic的所有过程,但我仍然收到错误

i have add extension in php.ini file.我在php.ini文件中添加了扩展名。 enter image description here在此处输入图像描述

Warning: PHP Startup: Unable to load dynamic library 'php_imagick' (tried: d:/wamp/bin/php/php7.4.9/ext/php_imagick (%1 is not a valid Win32 application.), d:/wamp/bin/php/php7.4.9/ext/php_php_imagick.dll (The specified module could not be found.)) in Unknown on line 0警告:PHP 启动:无法加载动态库 'php_imagick'(已尝试:d:/wamp/bin/php/php7.4.9/ext/php_imagick(%1 不是有效的 Win32 应用程序。),d:/wamp/bin /php/php7.4.9/ext/php_php_imagick.dll(找不到指定的模块。))在第0行的未知中

i tried to find required file and package form我试图找到所需的文件和 package 表格

https://windows.php.net/downloads/pecl/releases/imagick/3.6.0rc2/ also checked https://www.apachelounge.com/viewtopic.php?t=6359 https://windows.php.net/downloads/pecl/releases/imagick/3.6.0rc2/还检查了https://www.apachelounge.com/viewtopic.ZE1BFD7623631E409CEE4AC?0

but nothing helpful for me.但对我没有任何帮助。 that Module is not loading..该模块未加载..

please help me....请帮我....

  1. check that the dll is not blocked:检查 dll 是否未被阻止: 在此处输入图像描述
  2. try downloading the imagick threadsafe for here , version made for your PHP version尝试在这里下载 imagick threadsafe,为您的 PHP 版本制作的版本
  3. also install it from here on top of it all也可以从这里安装它

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM