Windows7 (x86) xampp php5.5 Imagick Install

Source: Internet
Author: User
Tags imagemagick

I hate windows.

1. Download the installation ImageMagick, select the appropriate version of your computer, I downloaded: imagemagick-6.8.9-1-q16-x86-dll.exe

Http://www.imagemagick.org/script/binary-releases.php#windows

This step encountered the installation problem, missing. dll files, to find the appropriate files online!

2. Download Imagick for PHP, I chose the stable version here. Choose the appropriate version of your computer, I downloaded: 5.5 Thread Safe (TS) x86

Address: Http://pecl.php.net/package/imagick/3.1.2/windows

Although the PHP manual declares that the Imagick can be installed through the Pecl install, I have not tried to succeed and always have a variety of problems. Usually try to modify config-set, still can't work, finally give up!

A. Php_suffix not match

B. IMAGICK.DSG NOT EXISTS

3. After extracting the files downloaded from the second step, copy the file ' Php_imagick.dll ' to the extension directory of PHP, my directory is: D:\xampp\php\ext
copy all other. dll files to the C:\Windows\System32 directory .

4. Added in the php.ini file: Extension=php_imagick.dll

5. Restart Apache, usually, it's over here!

Unexpected problem:

1. When you start Apache, you cannot locate the dynamic library and see if the third step is working correctly.

2. After normal startup, Php_info (), prompting Imagick to support the number of formats is 0, this solution is not repeated verification! I have also encountered this problem and have tried the following steps, but I am not sure which step works specifically

A. Step 1, to the installation directory, locate directory modules/coders, modoules/filters, copy all the files under two directories to the root directory of the installation, my directory structure is like this

D:\Program files\imagemagick\modules\coders\* Copy to D:\Program files\imagemagick\

D:\Program files\imagemagick\modules\filters\* Copy to D:\Program files\imagemagick\

B. In step 3, the file php_imagick.pdb in the Php_imagick.dll sibling directory is copied to the PHP extension directory.

C. View the environment variable path, whether it contains the installation directory for ImageMagick.

Hope that there is a word to help you!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.