Installing ImageMagick extension with php/windows

后端 未结 10 1393
无人共我
无人共我 2020-12-05 08:06

Running PHP Version 5.2.5 on Windows Server 2003 with IIS.

Have virtually an identical server where we were able to install ImageMagick with no issues. It\'s running

10条回答
  •  孤街浪徒
    2020-12-05 08:31

    I found an alternate source. PECL direct downloading.

    Install Steps taken

    ImageMagick installation

    Where to download latest ImageMagic compatible with IIS 8.1 / Windows 2012r2 php x64:

    http://windows.php.net/downloads/pecl/deps/

    navigate and download: ImageMagick-6.8.8-vc9-x86.zip for PHP 32-bit, 5.4.xx

    ImageMagick-6.8.8-vc11-x86.zip for PHP 32-bit, 5.5.xx

    ImageMagick-6.8.8-vc11-x64.zip for PHP 64-bit, 5.5.xx

    Tips:

    • Overwrite the DLLs found from ImageMagick 6.8.8 Windows version with the PHP version.

    • You need to reboot if files are locked in memory.

    php_imageMagick.dll location

    http://windows.php.net/downloads/pecl/releases/imagick/

    download the appropriate DLLs.

    You get latest version of ImageMagick DLLs, php_imagemagick.dll (both non-thread-safe and thread-safe versions).

    Tip:

    • If you get php5ts.dll missing, you downloaded the wrong version of php_imagemagic.dll and download other version.

    • if you are using IIS - use 'NTS' version - php_imagemagick_nts.dll

    • if you are using Apache - use 'TS' version - php_imagemagick_ts.dll

提交回复
热议问题