简体   繁体   English

在Windows的XAMPP上安装imagemagick和PECL / imagick

[英]install imagemagick and PECL/imagick on XAMPP on windows

i'm trying to install imagemagick under windows with XAMPP and PHP 5.6.3 我正在尝试使用XAMPP和PHP 5.6.3在Windows下安装imagemagick

i have download and installed imagemagick ( ImageMagick-6.9.1-0-Q16-x64-dll.exe ) yet. 我已经下载并安装了imagemagick(ImageMagick-6.9.1-0-Q16-x64-dll.exe)。 In command window (cmd) i try to use convert ecc... and work correctly (then PATH is correct). 在命令窗口(cmd)中,我尝试使用convert ecc ...并正常工作(然后PATH是正确的)。

Next i download DLL from PECL/package/imagick in version 3.2.0b2 x64 TS for php 5.6 ( http://windows.php.net/downloads/pecl/releases/imagick/3.2.0b2/php_imagick-3.2.0b2-5.6-ts-vc11-x64.zip ) 接下来,我从PECL / package / imagick的3.2.0b2 x64 TS版本的php 5.6下载DLL( http://windows.php.net/downloads/pecl/releases/imagick/3.2.0b2/php_imagick-3.2.0b2-5.6 -ts-vc11-x64.zip

i have set php.ini for load extension (retrive in before zip package and copyi it in c:\\xampp\\php\\ext\\ folder), i have copy all CORE_RL_*.DLL (retrive in before zip package) in c:\\xampp\\apache\\bin\\ 我已将php.ini设置为负载扩展(在zip包之前检索并复制到c:\\ xampp \\ php \\ ext \\文件夹中),我已在c:\\中复制了所有CORE_RL _ *。DLL(在zip包之前检索)。 xampp \\ apache \\ bin \\

restart PC and resstat apache/php server. 重新启动PC和resstat apache / php服务器。 When apache/php start i have 2 warning msgbox (i think one for each PID(s) port 80 and port 443 ) than explain: "PHP Startup:" and i can press only ok. 当apache / php启动时,我有2条警告消息框(我认为每个PID端口80和443端口一个)比解释:“ PHP Startup:”而且我只能按OK。

in Xampp control panel Apache module and Mysql module are green but if i visited phpinfo.php i don't see imagemagick or imagick extension! 在Xampp控制面板中,Apache模块和Mysql模块为绿色,但是如果我访问phpinfo.php,则看不到imagemagick或imagick扩展!

what's wrong??? 怎么了??? what can i do it? 我该怎么办?

help me please 请帮帮我

Include the extension in php.ini file if not done. 如果未完成,则将扩展名包含在php.ini文件中。

extension=php_imagick.dll

And restart apache. 并重新启动apache。

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

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