Wishlist 0 ¥0.00

Window下PHP扩展imagick安装

安装步骤

注意你的PHP版本,是否线程安全,X86还是X64,以phpinfo()为准
在这里插入图片描述

1. 下载扩展
  1. 下载地址: http://windows.php.net/downloads/pecl/releases/imagick/
    这里我下载的是: php_imagick-3.4.4-7.4-nts-vc15-x64
2. 安装扩展
  1. 解压下载好的扩展包,
  2. 复制 php_imagic.dll 文件到PHP的扩展目录
  3. 新增 extension=php_imagic.dllphp.ini 文件中
3. 下载Imagic程序

下载地址: http://windows.php.net/downloads/pecl/deps/
找好对应的版本,我下载的是 ImageMagick-7.0.7-11-vc15-x64.zip

4. 安装Imagic程序
  1. 解压下载好的压缩包至无空格,无中文的目录中,例如: D:\Programs\Imagic
  2. 将程序目录 D:\Programs\Imagic\bin 至系统环境变量PATH
  3. D:\Programs\Imagic\bin 下所有dll文件复制到 php.ini 的同级目录下
  4. 重启Apache或Nginx,从phpinfo中可以看到扩展已加载
    在这里插入图片描述
5. 安装Ghostscript
  1. 下载地址: https://www.ghostscript.com/download/gsdnld.html
结束!

About Us

Since 1996, our company has been focusing on domain name registration, web hosting, server hosting, website construction, e-commerce and other Internet services, and constantly practicing the concept of "providing enterprise-level solutions and providing personalized service support". As a Dell Authorized Solution Provider, we also provide hardware product solutions associated with the company's services.
 

Contact Us

Address: No. 2, Jingwu Road, Zhengzhou City, Henan Province

Phone: 0086-371-63520088 

QQ:76257322

Website: 800188.com

E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.