+ Reply to Thread
Results 1 to 3 of 3

Bookmark and Share

Thread: iMagick help

  1. #1
    Registered User Fresh Surpasser
    Points: 13, Level: 1
    Level completed: 25%, Points required for next Level: 37
    Overall activity: 24.0%

    Member since
    Feb 2012
    posts
    2
    Points
    13
    Level
    1
    Thanks
    1
    Thanked 0 times

    iMagick help

    Hi. I'm hoping someone here can help me with an issue I'm having. I need to use the iMagick extension with PHP on a new site I'm working on. I've gone back and forth through email with the Surpass technical support. They claim that the extension has been installed and is enabled. I can see in the php.ini file that there's a line "extension=imagick.so", but when I look at phpinfo() it's not listed. And when I try and use it in a script, I get a "Fatal error: Class 'Imagick' not found". There are no other php.ini files that would override those settings. The only thing I can think is that the extension isn't actually installed, or it's in a different directory than the default (/usr/local/lib/php/extensions/no-debug-non-zts-20060613). Are there multiple versions of php installed, and somehow I'm using the wrong one (I'm using 5.2.14)? I don't have shell access so I can't check some of this on my own—plus I'm only slightly proficient in a command line interface. Anyway, any help anyone can offer me would be much appreciated.

  2. #2
    Surpass Fan Excelling Contributor
    Points: 7,524, Level: 25
    Level completed: 95%, Points required for next Level: 26
    Overall activity: 0%
    Achievements:
    Veteran5000 Experience Points
    cowboy's Avatar
    Member since
    Nov 2005
    Location
    Colorado
    posts
    965
    Points
    7,524
    Level
    25
    Thanks
    2
    Thanked 104 times
    Check your phpinfo result for the path to the active php.ini file. I will gamble it does not have the "extension=imagick.so" entry.
    Where would you be if you were at the highest court in the land (US)?

  3. This user thanks cowboy for this great post!

    cjb78 (February 28th, 2012)

  4. #3
    Registered User Fresh Surpasser
    Points: 13, Level: 1
    Level completed: 25%, Points required for next Level: 37
    Overall activity: 24.0%

    Member since
    Feb 2012
    posts
    2
    Points
    13
    Level
    1
    Thanks
    1
    Thanked 0 times
    Hey, thanks for the reply. The active php.ini file did have the extension=imagick.so entry. The problem ended up being with Apache. It was unable to load the Imagick module due to a memory limit on the Apache process. They increased the memory limit and it's loading now.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may edit your posts