在 Windows 上为 PHP 和 Apache 安装 Imagick
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/27193631/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Install Imagick for PHP and Apache on Windows
提问by Benjam
Steps I've taken so far:
到目前为止我采取的步骤:
- I have installed Imagick on my Win7 machine, and it's installed and running properly via command line.
- I've extracted the contents of php_imagick-3.1.2-5.6-ts-vc11-x86.zip available hereinto my \PHP\ext directory.
- Enabled the imagick.dll in php.ini
- Rebooted...
- No errors when starting Apache.
- I'm still getting the
Fatal error: Class 'Imagick' not found
error when I try to run a script that uses Imagick.
- 我已经在我的 Win7 机器上安装了 Imagick,它通过命令行安装并正常运行。
- 我已将此处提供的 php_imagick-3.1.2-5.6-ts-vc11-x86.zip 的内容提取到我的 \PHP\ext 目录中。
- 在 php.ini 中启用 imagick.dll
- 重新启动...
- 启动Apache时没有错误。
Fatal error: Class 'Imagick' not found
当我尝试运行使用 Imagick 的脚本时,我仍然遇到错误。
Current Versions:
当前版本:
- Windows 7 x64
- Apache 2.4.10 x86 VC11 (from Apachelounge)
- PHP 5.6.3 x86 VC11 TS (from windows.php.net)
- ImageMagick 6.9.0-0 Q16 x86 (from imagemagick.org)
- Imagick DLL php_imagick-3.1.2-5.6-ts-vc11-x86.zip (from here)
- 视窗 7 x64
- Apache 2.4.10 x86 VC11(来自 Apachelounge)
- PHP 5.6.3 x86 VC11 TS(来自 windows.php.net)
- ImageMagick 6.9.0-0 Q16 x86(来自 imagemagick.org)
- Imagick DLL php_imagick-3.1.2-5.6-ts-vc11-x86.zip(来自这里)
I was running an older version of PHP and had Imagick working fine with that, then I updated PHP (and the Imagick DLLs along with it) and now I can't seem to get it to work.
我运行的是旧版本的 PHP 并且让 Imagick 可以正常工作,然后我更新了 PHP(以及 Imagick DLL),现在我似乎无法让它工作。
Looking at phpinfo( )
, I don't see Imagick listed there, so it doesn't seem to be loading the module at all. Which is weird, because I'm not getting any errors when starting Apache.
看着phpinfo( )
,我没有看到 Imagick 在那里列出,所以它似乎根本没有加载模块。这很奇怪,因为我在启动 Apache 时没有收到任何错误。
I've tried just about every write-up and walkthrough for installing Imagick for PHP on Windows, but they seem to all be written for older versions of PHP.
我已经尝试了几乎所有在 Windows 上安装 Imagick for PHP 的文章和演练,但它们似乎都是为旧版本的 PHP 编写的。
Can somebody help me get this installed and running? It seems like it's just missing one simple step that I can't seem to figure out. If you need any more info, please ask. I'll get you whatever I can to help.
有人可以帮我安装并运行它吗?似乎只是缺少一个我似乎无法弄清楚的简单步骤。如果您需要更多信息,请询问。我会尽我所能帮助你。
回答by fyrye
I have php 5.6 NTS x64
installed on Windows 8.1 pro for my Development System.
我已经php 5.6 NTS x64
为我的开发系统安装了 Windows 8.1 pro。
EDIT:This procedure worked with Windows 10 pro as well.
编辑:此过程也适用于 Windows 10 专业版。
I was unable to get Imagick Working with PHP using an older release of ImageMagick as in the accepted answer and it was difficult to find mirrors with the exact safe binaries needed (the binaries on the mirror in the accepted answer downloaded as different versions than listed).
我无法像接受的答案一样使用旧版本的 ImageMagick 使 Imagick 与 PHP 一起工作,并且很难找到具有所需确切安全二进制文件的镜像(已接受答案中镜像上的二进制文件下载为与列出的版本不同) .
In all of the steps below, be sure to match your PHP architecture (x86/x64 and NTS/TS) to the binary's architecture. If you are using PHP x86 - replace the x64 version of the downloads with the x86 (or 32bit) version. The same applies to Thread-Safe (TS) and Non-Thread-Safe (NTS) versions of PHP.
在以下所有步骤中,请确保您的 PHP 架构(x86/x64 和 NTS/TS)与二进制架构相匹配。如果您使用的是 PHP x86 - 将下载的 x64 版本替换为 x86(或 32 位)版本。这同样适用于 PHP 的线程安全 (TS) 和非线程安全 (NTS) 版本。
I finally got it all working by performing the following:
我终于通过执行以下操作使所有工作正常进行:
- Navigate to https://pecl.php.net/package/imagickand download the latest DLL
(3.3.0RC1)
at time of this answer. - Extract
php_imagick.dll
toD:\php5.6\ext
- Extract all
CORE_RL_*.dll
files toD:\php5.6
- EnsureD:\php5.6
is also added to thePATH
of your system environment variables - Add
extension = php_imagick.dll
toD:\php5.6\php.ini
- Restart Apache/PHP Built-In Web Server
- Check PHP Info to ensure the module is installed correctly
Note the highlighted ImageMagick version
(ImageMagick 6.9.1-2 Q16 x64)
and the missing supported formats - Download and install the matching version of ImageMagick to
D:\php5.6\bin
from http://www.imagemagick.org/script/binary-releases.php- Ensure that theAdd Path to Environment Variables
option is checked or manually add it.
- Load a command prompt (run as administrator which forces the system path variable to refresh)and ensure
convert --version
displays the correct version - Delete the previously extracted
CORE_RL_*.dll
files inD:\php5.6
(they will be loaded via ImageMagick path - otherwise your PHP installation may become unstable with the PECL dlls) - Restart Apache/PHP Built-In Web Server
- Check PHP Info to ensure module is still installed correctly and is now loading the Imagick supported formats
- Optionally download and install Ghostscript to
D:\php5.6\bin
to be able to convert PDFs to images from http://sourceforge.net/projects/ghostscript/be sure to match the architecture for your installation
- 导航到https://pecl.php.net/package/imagick并下载
(3.3.0RC1)
此答案时的最新 DLL 。 - 提取
php_imagick.dll
到D:\php5.6\ext
- 将所有
CORE_RL_*.dll
文件提取到D:\php5.6
-确保D:\php5.6
也添加到PATH
您的系统环境变量中 - 添加
extension = php_imagick.dll
到D:\php5.6\php.ini
- 重启 Apache/PHP 内置 Web 服务器
- 检查 PHP 信息以确保模块安装正确
注意突出显示的 ImageMagick 版本和缺少的支持格式
(ImageMagick 6.9.1-2 Q16 x64)
D:\php5.6\bin
从http://www.imagemagick.org/script/binary-releases.php下载并安装 ImageMagick 的匹配版本- 确保Add Path to Environment Variables
选中该选项或手动添加它。
- 加载命令提示符(以管理员身份运行,强制刷新系统路径变量)并确保
convert --version
显示正确的版本 - 删除之前提取的
CORE_RL_*.dll
文件(它们将通过 ImageMagick 路径加载 - 否则您的 PHP 安装可能会因 PECL dll 而变得不稳定)D:\php5.6
- 重启 Apache/PHP 内置 Web 服务器
- 检查 PHP 信息以确保模块仍然正确安装并且现在正在加载 Imagick 支持的格式
- 可以选择下载并安装 Ghostscript 以
D:\php5.6\bin
将 PDF 转换为来自http://sourceforge.net/projects/ghostscript/ 的图像,请确保与您的安装架构相匹配
I did not need to add MAGICK_HOME
for Imagick to work using the PHP Built-In Web Server or CGI, but may be required for Apache using mod_php
. Be sure the user running PHP has permission to execute convert
. This should be inherited via D:\php5.6\bin
but in case you chose to install to C:\Program Files
. you may have issues due to its restricted permissions.
我不需要MAGICK_HOME
为 Imagick添加使用 PHP 内置 Web 服务器或 CGI 的工作,但使用mod_php
. 确保运行 PHP 的用户有权执行convert
. 这应该通过继承,D:\php5.6\bin
但如果您选择安装到C:\Program Files
. 由于权限受限,您可能会遇到问题。
Alternative for Image conversion
图像转换的替代方案
As noted in the comments, you can alternatively download the required ImageMagick version dependencies and extract the exe
and dll
files from within the bin
directory directly into your D:\php5.6
directory.
The dependencies can be found on PECL website http://windows.php.net/downloads/pecl/deps/
如评论中所述,您也可以下载所需的 ImageMagick 版本依赖项,并将目录中的exe
和dll
文件bin
直接提取到您的D:\php5.6
目录中。可以在 PECL 网站http://windows.php.net/downloads/pecl/deps/上找到依赖项
Using the PECL dependencies removes the need to directly download and run the matching ImageMagick version installer from the vendor's website.
使用 PECL 依赖项无需直接从供应商的网站下载和运行匹配的 ImageMagick 版本安装程序。
With the PECL dependencies method there were issues with excluded files needed for PDF conversions using GhostScript.
使用 PECL 依赖项方法时,使用 GhostScript 进行 PDF 转换所需的排除文件存在问题。
Special Considerations
特别注意事项
Be sure to rearrange your PATH System Environment Variable so that %SystemRoot%\system32\convert.exe
does not override the D:\php5.6\bin\convert.exe
.
请务必重新排列 PATH 系统环境变量,以免%SystemRoot%\system32\convert.exe
覆盖D:\php5.6\bin\convert.exe
.
By adding your PHP path to the left of system32, like so: PATH: D:\php5.6\bin;%SystemRoot%\system32;%SystemRoot%;...
通过将您的 PHP 路径添加到 system32 的左侧,如下所示:D:\php5.6\bin;%SystemRoot%\system32;%SystemRoot%;...
This will force your system to look for executable files within D:\php5.6\bin
prior to %SystemRoot%\system32
这将强制您的系统在D:\php5.6\bin
之前查找可执行文件%SystemRoot%\system32
Replace D:\php5.6\bin\convert.exe
with the path to where you installed ImageMagick or the path to where convert.exe
is located
替换D:\php5.6\bin\convert.exe
为您安装 ImageMagick 的路径或所在convert.exe
位置的路径
https://technet.microsoft.com/en-us/library/cc723564.aspx#XSLTsection127121120120
https://technet.microsoft.com/en-us/library/cc723564.aspx#XSLTsection127121120120
回答by Benjam
I finally got it working, here is what I had to do: (referenced from http://refreshless.com/blog/imagick-pecl-imagemagick-windows/)
我终于让它工作了,这是我必须做的:(引用自http://refreshless.com/blog/imagick-pecl-imagemagick-windows/)
- Install an older version of ImageMagick (6.7.7-5 Q16) available from this website.
- Install the PECL Imagick DLL files (php_imagick-3.1.2-5.6-ts-vc11-x86.zip) downloaded from this webpage, putting the
php_imagick.dll
file in the PHPext
directory, and theCORE_RL_*_.dll
files in the Apachebin
directory. - Add an Environement variable called
MAGICK_HOME
to the machine, with the value of[ImageMagick install dir]\modules\coders
. - Restart apache and check
phpinfo( )
.
- 安装旧版本的 ImageMagick (6.7.7-5 Q16) 可从本网站获得。
- 安装从这个网页下载的PECL Imagick DLL文件(php_imagick-3.1.2-5.6-ts-vc11-x86.zip),把
php_imagick.dll
文件放在PHPext
目录下,CORE_RL_*_.dll
文件放在Apachebin
目录下。 - 添加一个调用
MAGICK_HOME
到机器的环境变量,其值为[ImageMagick install dir]\modules\coders
。 - 重新启动 apache 并检查
phpinfo( )
.
If this doesn't work for you, try different versions of the ImageMagick binaries, and different versions of the PECL libraries.
如果这对您不起作用,请尝试不同版本的 ImageMagick 二进制文件和不同版本的 PECL 库。
回答by lost in binary
Another solution that worked on 3 different windows installations (2 Windows 7 and 1 Windows 8.1) is to combine:
另一个适用于 3 个不同 Windows 安装(2 个 Windows 7 和 1 个 Windows 8.1)的解决方案是结合:
ImageMagick-6.7.9-10-Q16-windows.exewith
ImageMagick-6.7.9-10-Q16-windows.exe与
xampp-win32-1.8.3-5-VC11-installer.exe.
xampp-win32-1.8.3-5-VC11-installer.exe。
Of course you will have to add the php_imagick.dllto the php/ext folder and also add extensionphp_imagick.dll to php.ini. Restartapache after you do all of the above and if it complains about missing stuff, restart your computer.
当然,您必须将 php_imagick.dll 添加到 php/ext 文件夹,并将扩展名php_imagick.dll添加到 php.ini。 完成上述所有操作后重新启动apache,如果它抱怨丢失的东西,请重新启动您的计算机。
回答by The EasyLearn Academy
- Download proper extension version from
http://windows.php.net/downloads/pecl/releases/imagick/I picked
3.1.2 which is the latest non-beta at this time
- Unzip and copy php_imagick.dll to PHP ext folder
- add [PHP_IMAGICK] extension=php_imagick.dll to php.ini
- Download recommended Imagick version and install from: http://imagemagick.org/script/binary-releases.php#windows( I chose to have C headers and also COM objects during installation)
- Restart apache
- Check phpinfo() for Imagick section... there it is!
- 从http://windows.php.net/downloads/pecl/releases/imagick/下载适当的扩展版本
我选择了 3.1.2,这是目前最新的非测试版
- 解压并复制 php_imagick.dll 到 PHP ext 文件夹
- 将 [PHP_IMAGICK] extension=php_imagick.dll 添加到 php.ini
- 下载推荐的 Imagick 版本并从以下位置安装:http://imagemagick.org/script/binary-releases.php#windows (我在安装过程中选择了 C 头文件和 COM 对象)
- 重启apache
- 检查 phpinfo() 的 Imagick 部分......它就在那里!
回答by Joe Okatch
Here's how I solved it
这是我解决的方法
I had really struggled with all these answers. Looking back I realised most of them are correct except they leave out some very finedetails that are crucial.
我真的为所有这些答案而挣扎。回顾过去,我意识到他们中的大多数都是正确的,只是他们遗漏了一些非常重要的细节。
1).First and foremost, before you start downloading any libraries or DLLs you want to start with your php_infoto find out these three very important parameters.
1)。首先,在您开始下载任何库或 DLL 之前,您要从 php_info开始找出这三个非常重要的参数。
Run the PHP_Info and check:
运行 PHP_Info 并检查:
- Architecture : x86 or x64. Your computer might be x64 but your php is running on x86 so don't assume
- Thread Safety : yes or no. Also very important.
- Your PHP Version
- 架构:x86 或 x64。您的计算机可能是 x64,但您的 php 在 x86 上运行,所以不要假设
- 线程安全:是或否。也非常重要。
- 您的 PHP 版本
2).Download ImageMagick from: https://windows.php.net/downloads/pecl/deps/. My computer is x64 but my php is running x86 so I downloaded ImageMagick-7.0.--vc*-x86.zip
2)。从以下位置下载 ImageMagick:https: //windows.php.net/downloads/pecl/deps/。我的电脑是 x64,但我的 php 运行的是 x86,所以我下载了 ImageMagick-7.0。--vc*-x86.zip
3).Unzip and copy all DLLs from the unzipped bin subfolder to the Apache bin directory. It's a bunch of CORE_RL_.dll and IM_MOD_RL_.dll plus a few other DLLs. In my case, [zippeddownload]/bin/* ->copied to -> C:\Xampp\apache\bin
3)。解压缩所有 DLL 并将其从解压缩的 bin 子文件夹复制到 Apache bin 目录。它是一堆 CORE_RL_ .dll 和 IM_MOD_RL_.dll 加上一些其他 DLL。就我而言,[zippeddownload]/bin/* -> 复制到 -> C:\Xampp\apache\bin
4).Go to http://pecl.php.net/package/imagick. You can select the zip link or just the DLL link. I prefer the DLL link. In my case I selected latest version 3.4.3. Which then took me to https://pecl.php.net/package/imagick/3.4.3/windows. Here we have to make another careful choice
4)。转到http://pecl.php.net/package/imagick。您可以选择 zip 链接或仅选择 DLL 链接。我更喜欢 DLL 链接。就我而言,我选择了最新版本 3.4.3。然后带我到https://pecl.php.net/package/imagick/3.4.3/windows。到这里我们又要慎重选择了
- My php version is PHP 5.6
- Thread Safety is enabled
- Architecture php is running on is x86
- So I took 5.6 Thread Safe (TS) x86
- 我的 php 版本是PHP 5.6
- 线程安全已启用
- 正在运行的架构 php 是x86
- 所以我拿了5.6 线程安全 (TS) x86
5).Unzip and copy "php_imagick.dll" to the php extfolder. And all other DLL files to the php folder
5)。解压并复制“php_imagick.dll”到 php ext文件夹。和所有其他 DLL 文件到 php 文件夹
6).Using an editor open php.ini. Search for "extension=" and add this line extension=php_imagick.dllas one of them.
6). 使用编辑器打开php.ini。搜索“extension=”并将这一行extension=php_imagick.dll添加为其中之一。
7).Restart Xampp/Wamp or just restart Apache and run PHP_INFO again. Imagick should display. If you still can't see it refer to this link http://php.net/manual/en/imagick.setup.php#119084
7)。重新启动 Xampp/Wamp 或只是重新启动 Apache 并再次运行 PHP_INFO。Imagick 应该显示。如果您仍然看不到它,请参阅此链接http://php.net/manual/en/imagick.setup.php#119084
Bonus tip:You might need to download visual c++ 14 runtime. From this link https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloadsI chose the latest version.
额外提示:您可能需要下载visual c++ 14 runtime。从这个链接https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads我选择了最新版本。
回答by Jerome
1, First download right version php_imagick package depending on your situation, I use php_imagick-3.4.3-7.1-ts-vc14-x64.zip from:
1,首先根据您的情况下载正确版本的php_imagick包,我使用php_imagick-3.4.3-7.1-ts-vc14-x64.zip来自:
https://windows.php.net/downloads/pecl/snaps/imagick/3.4.3/php_imagick-3.4.3-7.1-ts-vc14-x64.zip
https://windows.php.net/downloads/pecl/snaps/imagick/3.4.3/php_imagick-3.4.3-7.1-ts-vc14-x64.zip
2, Then unzip php_imagick-3.4.3-7.1-ts-vc14-x64.zip to C:/php_imagick folder
2、然后解压php_imagick-3.4.3-7.1-ts-vc14-x64.zip到C:/php_imagick文件夹
3, Next add extension=C:/php_imagick/php_imagick.dll in php.ini
3、接下来在php.ini中添加extension=C:/php_imagick/php_imagick.dll
4, Now add *.dll (except php_imagick.dll) to your apache vhost file, for example:
4、现在将*.dll(php_imagick.dll除外)添加到您的apache vhost文件中,例如:
# enable imagick start ===========
SetEnv MAGICK_HOME "C:/php_imagick"
LoadFile "C:/php_imagick/CORE_RL_bzlib_.dll"
LoadFile "C:/php_imagick/CORE_RL_cairo_.dll"
LoadFile "C:/php_imagick/CORE_RL_exr_.dll"
LoadFile "C:/php_imagick/CORE_RL_glib_.dll"
LoadFile "C:/php_imagick/CORE_RL_jp2_.dll"
LoadFile "C:/php_imagick/CORE_RL_jpeg_.dll"
LoadFile "C:/php_imagick/CORE_RL_lcms_.dll"
LoadFile "C:/php_imagick/CORE_RL_librsvg_.dll"
LoadFile "C:/php_imagick/CORE_RL_libxml_.dll"
LoadFile "C:/php_imagick/CORE_RL_lqr_.dll"
LoadFile "C:/php_imagick/CORE_RL_magick_.dll"
LoadFile "C:/php_imagick/CORE_RL_Magick++_.dll"
LoadFile "C:/php_imagick/CORE_RL_openjpeg_.dll"
LoadFile "C:/php_imagick/CORE_RL_pango_.dll"
LoadFile "C:/php_imagick/CORE_RL_png_.dll"
LoadFile "C:/php_imagick/CORE_RL_tiff_.dll"
LoadFile "C:/php_imagick/CORE_RL_ttf_.dll"
LoadFile "C:/php_imagick/CORE_RL_wand_.dll"
LoadFile "C:/php_imagick/CORE_RL_webp_.dll"
LoadFile "C:/php_imagick/CORE_RL_zlib_.dll"
LoadFile "C:/php_imagick/FILTER_analyze_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_aai_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_art_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_avs_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_bgr_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_bmp_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_braille_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_cals_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_caption_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_cin_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_cip_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_clip_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_clipboard_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_cmyk_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_cut_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_dcm_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_dds_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_debug_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_dib_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_djvu_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_dng_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_dot_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_dps_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_dpx_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_emf_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_ept_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_exr_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_fax_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_fd_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_fits_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_fpx_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_gif_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_gradient_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_gray_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_hald_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_hdr_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_histogram_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_hrz_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_html_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_icon_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_info_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_inline_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_ipl_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_jbig_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_jnx_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_jp2_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_jpeg_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_json_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_label_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_mac_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_magick_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_map_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_mask_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_mat_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_matte_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_meta_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_miff_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_mono_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_mpc_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_mpeg_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_mpr_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_msl_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_mtv_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_mvg_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_null_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_otb_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_palm_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_pango_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_pattern_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_pcd_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_pcl_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_pcx_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_pdb_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_pdf_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_pes_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_pict_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_pix_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_plasma_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_png_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_pnm_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_preview_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_ps_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_ps2_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_ps3_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_psd_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_pwp_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_raw_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_rgb_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_rgf_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_rla_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_rle_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_scr_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_screenshot_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_sct_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_sfw_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_sgi_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_sixel_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_stegano_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_sun_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_svg_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_tga_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_thumbnail_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_tiff_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_tile_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_tim_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_ttf_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_txt_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_uil_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_url_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_uyvy_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_vicar_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_vid_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_viff_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_vips_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_wbmp_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_webp_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_wmf_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_wpg_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_xbm_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_xc_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_xcf_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_xpm_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_xps_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_xtrn_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_ycbcr_.dll"
LoadFile "C:/php_imagick/IM_MOD_RL_yuv_.dll"
LoadFile "C:/php_imagick/ImageMagickObject.dll"
# enable imagick end ===========
5, last restart apache
5、最后重启apache