Problems related to installing imagemagick and MagickWand in php

Source: Internet
Author: User
Tags imagemagick
The installation of imagemagick and MagickWand in php is urgent ~~ On the Internet a php-5.2.4_magickwand_q16_st.dll put him into the PHP root directory ext directory under the windows folder in the php. ini also added extensionphp-5.2.4_magickwand_q16_st.dll run & lt ;? Phpinfo () php is eager to install imagemagick and MagickWand ~~
On the Internet a php-5.2.4_magickwand_q16_st.dll put him into the PHP root directory ext directory under the windows folder in the php. ini also added extension = php-5.2.4_magickwand_q16_st.dll run We can see that


Magickwand
MagickWand Backend Library ImageMagick
MagickWand Extension Version 1.0.5
ImageMagick support enabled
ImageMagick version ImageMagick 6.3.5 09/21/07 Q16 http://www.imagemagick.org
ImageMagick QuantumRange (Max RGB) 65535
MagickWand supported image formats A, ART, AVI, AVS, B, BIE, BMP, BMP 2, BMP3, C, CAPTION, CIN, CIP, CLIP, CLIPBOARD, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DFONT, DNG, DPS, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, EXR, FAX, FITS, FRACTAL, FTS, G, G3, GIF, GIF87, GRADIENT, GRAY, HISTOGRAM, HTM, HTML, ICB, ICO, ICON, INFO, IPL, JBG, JBIG, JNG, JP2, JPC, JPEG, JPG, JPX, K, LABEL, M, M2V, MAP, MAT, MATTE, MIFF, MNG, MONO, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NULL, O, LF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, Arg, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG24, PNG32, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSD, PTIF, PWP, R, RAF, RAS, RGB, RGBA, RGBO, RLA, RLE, SCR, SCT, SFW, SGI, SHTML, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, limit 64, TILE, TIM, TTC, TTF, TXT, UIL, UYVY, VDA, VICAR, VID, VIFF, VST, WBMP, WMF, WMFWIN32, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XV, XWD, Y, YCbCr, YCbCrA, YUV



Figure



But run

$ Handle = imagick_readimage ("3.gif ");
$ Image_width = imagick_getwidth ($ handle );
Imagick_destroyhandle ($ handle );
Echo "$ image_width ";
?>

Then

Fatal error: Call to undefined function imagick_readimage () in C: \ AppServ \ www \ t. php on line 2

Error. what is the problem?

Is imagemagick successfully installed? why can't I find a function if the installation is successful?

Urgent...

------ Solution --------------------
Run
Print_r (get_extension_funcs ('magickwand '));
Check which functions are available.

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.