dpgvdfg321041670 2014-02-25 16:45
浏览 38
已采纳

如何在Windows 8 x64上安装ImageMagick for PHP5.3 / 5.4

I need install ImageMagick for PHP 5.4.7 on Windows.

How do I install it?

  • 写回答

1条回答 默认 最新

  • duanping2005 2014-02-25 16:45
    关注

    Step by step:

    1. Download the binary version for Windows Install you binary version.
    2. Test you install in CMD
      1. Execute convert in CMD.
    3. If this work, the intall is success.
    4. Now, download Imagemagick DLL for PHP
    5. Open imagemagick-php54-php53.tgz
    6. In Explorer, go to PHP extension folder
      1. PHP: C:\php\ext\
      2. XAMP: C:\xampp\php\ext\
    7. Copy TS or NTS DLL's (php_imagick_(nts|ts).dll) from imagemagick-php54-php53.tgz:
      1. For PHP 5.3
        1. imagick-php54-php53.tgz\imagick\php53
      2. For PHP 5.4
        1. imagick-php54-php53.tgz\imagick\php54
    8. Paste in you PHP Extension folder.
    9. In explorer, edit you php.ini
    10. Add the follow line:

    if you use TS

    extension=php_imagick_ts.dll
    

    If you use NTS

    extension=php_imagick_nts.dll
    

    Now, restart you apache/ngnex server.

    IMPORTANT!

    If you have a error to start apache/ngnex with the message Unable to find CORE_RL_Wand.dll something something.

    1. Open imagemagick-php54-php53.tgz
    2. Go to imagick-php54-php53.tgz\imagick\ImageMagick-x.x.x-vcx\
      1. In my case imagick-php54-php53.tgz\imagick\ImageMagick-6.8.0-vc9
    3. In explorer go to:
      1. Win 32: C:\Windows\System32\
      2. Win 64: C:\Windows\SysWOW64\
    4. Uncompress all DLL's from imagick-php54-php53.tgz\imagick\ImageMagick-x.x.x-vcx\
    5. And start you apache/ngnex server.
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 python的qt5界面
  • ¥15 无线电能传输系统MATLAB仿真问题
  • ¥50 如何用脚本实现输入法的热键设置
  • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能
  • ¥30 深度学习,前后端连接
  • ¥15 孟德尔随机化结果不一致
  • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
  • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100