Imagick php windows

后端 未结 7 570
甜味超标
甜味超标 2020-12-30 14:55

I am trying to use iMagick in Symfony2.

I am using PHP 5.4.16 and all i have done :

1-Copy php_imagick_nts.dll from php5-4 directory from the extracted http:

7条回答
  •  甜味超标
    2020-12-30 15:40

    Sorry for my bad english:

    1º Install Appserv

    Filename: "appserv-win32-2.5.10.exe"

    URL download: h*ttp://www.appservnetwork.com/ (without *)

    Apache port: 8080

    2º Download PHP 5.3(Apache 2.2 doesn't support superior)

    Filename: "php-5.3.29-Win32-VC9-x86.zip"

    How?: Thread Safe

    URL Download: h*ttp://windows.php.net/download#php-5.6 (without *)

    3º Stop Apache

    4º Delete all contents in the folder "..\AppServ\php5"

    5º Copy the zip contents to "..\AppServ\php5"

    6º Add line

    date.timezone = "America/Buenos_Aires" (This is my zone, find yours in php page)

    to the "php.ini" in "c:\Windows\php.ini"

    to avoid date error in PHP

    7º Start Apache

    =============================

    IMAGIC(Once PHP 5.3 is installed)

    1º Instalññ Image magic 6.7(Not superior, PHP 5.3 doesn't support)

    Filename: "ImageMagick-6.7.9-9-Q16-windows-dll.exe"

    URL download: http://ftp.icm.edu.pl/packages/ImageMagick/binaries/

    2º Download Imagic

    Filename: "php_imagick-3.1.2-5.3-ts-vc9-x86.zip"

    URL download: http://windows.php.net/downloads/pecl/releases/imagick/3.1.2/

    3º In the dir "php5/ext" add the file "php_imagick.dll" from the last zip download(other files doesn't care)

    4º Add line

    extension=php_imagick.dll

    to the "php.ini" in "c:\Windows\php.ini"

    5º Restart Apache

提交回复
热议问题