2009年12月2日星期三

Re: [fw-server] imagick extension not working

If you installed using that script then the version will be 6.5.6, installed in /usr/local. Your phpinfo() is reporting 6.3.7, so it's using the wrong version.

I've got no idea how your PHP install was set up, but I got it working by compiling a version of imagick against the 6.5.6 installation (creating an imagick.so file), and then dropped that into the /ext folder in my PHP path. I also compiled PHP from source, rather than using the version included with OS X.

Sorry I cant be much more help, unfortunately getting this all working on 10.6 myself was a process of trial and error.

Ron Dyck wrote:

On 2009-12-01, at 7:46 AM, Jack Sleight wrote:

I got ImageMagick + imagick installed and working on OS X 10.6 with PHP 5.3.0 using this to install ImageMagick http://github.com/masterkain/ImageMagick-sl/blob/master/install_im.sh

Have the above installed and all appears to be working with ImageMagick (had a few issues to sort through with HD), see output below.

I havent' got to the testing from php, but in phpinfo I still get the output below, with the number of supported formats at 0. Is this an issue due to different version of ImageMagick and do I need to install the php extension manually?

imagick module enabled
imagick module version 2.2.2
imagick classes Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
ImageMagick version ImageMagick 6.3.7 11/02/09 Q16 http://www.imagemagick.org
ImageMagick copyright Copyright (C) 1999-2008 ImageMagick Studio LLC
ImageMagick release date 11/02/09
ImageMagick Number of supported formats: 0


convert -list format
   Format  Module    Mode  Description
-------------------------------------------------------------------------------
      3FR  DNG       r--   Hasselblad CFV/H3D39II
        A* RAW       rw+   Raw alpha samples
       AI  PDF       rw-   Adobe Illustrator CS2
      ART* ART       rw-   PFS: 1st Publisher Clip Art
      ARW  DNG       r--   Sony Alpha Raw Image Format
      AVI* AVI       r--   Microsoft Audio/Visual Interleaved
      AVS* AVS       rw+   AVS X image
        B* RAW       rw+   Raw blue samples
      BGR* RGB       rw+   Raw blue, green, and red samples
      BMP* BMP       rw-   Microsoft Windows bitmap image
     BMP2* BMP       -w-   Microsoft Windows bitmap image v2
     BMP3* BMP       -w-   Microsoft Windows bitmap image v3
      BRF* BRAILLE   -w-   BRF ASCII Braille format
      BRG* RGB       rw+   Raw blue, red, and green samples
        C* RAW       rw+   Raw cyan samples
.......


--
Jack

没有评论: