Thread: Imagick: help!

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    2
    Rep Power
    0

    Imagick: help!


    Hello,
    I have the following problem:

    typing in the terminal:
    php-i | grep imagick or php-r "phpinfo ();" | grep imagick
    I get:
    Additional. Ini files parsed => /opt/local/var/db/php5/imagick.ini
    imagick
    imagick module => enabled
    imagick module version => 3.0.1
    imagick classes => IMAGICK ImagickDraw, ImagickPixel, ImagickPixelIterator
    imagick.locale_fix => 0 => 0
    imagick.progress_monitor => 0 => 0

    but running phpinfo() in apache server, there is simply no imagick installed!

    Well, if anyone has any idea how to solve this mystery, I will be eternally grateful!

    Mac OS X 10.7.5
    Apache 2.0 Handler
    PHP 5.4.4
    MAMP Pro 2.1.1

    /opt/local/bin/ convert-version

    Version: ImageMagick 6.8.5-5 Q16 ... 05/29/2013
    Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
    Features: CPD Modules
    Delegates: GSLIB bzlib fftw fontconfig freetype jpeg jng lcms lzma png tiff ps x xml zlib

    Thank you!
  2. #2
  3. Transforming Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,143
    Rep Power
    9398
    You quite possibly have two different configurations: one for Apache, one for the command line.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    2
    Rep Power
    0
    Originally Posted by requinix
    You quite possibly have two different configurations: one for Apache, one for the command line.
    How can I know it?
  6. #4
  7. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,317
    Rep Power
    7170
    The phpinfo() function tells you which php.ini files are being parsed.
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

IMN logo majestic logo threadwatch logo seochat tools logo