Results 1 to 6 of 6

Thread: Imagemagick / apache / php

  1. #1

    Default Imagemagick / apache / php

    Hey guys

    i'm having trouble getting imagemagick running
    i'm using opensuse 11, and installed apache2 and php5 through yast!
    than i've installed imagemagick (and libmagick and the deval packages) also through yast.

    but php just keeps saying unknown class imagick.
    ie read the installation manual it says to copy a imagick.so file to the php5 extension dir. but i can't seem to find that .so file?

    does anyone have a suggestion?
    Thanks,
    Arnold

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Imagemagick / apache / php

    According to this, the PHP interface is called imagick, not Imagemagick. Though the latter is probably also required. Zypper show no such package called imagick in the repos so you may have to build your own from PEAR. Or maybe there is an OpenSUSE repo with it pre-built, dunno.

    Using ImageMagick with*PHP | Sniptools |

  3. #3

    Default Re: Imagemagick / apache / php

    Thanks for the response.

    indeed it seems to search for a imagick.so.1 or something.
    i can't find it.
    in ubuntu there is a php_imagick module for apache2. but i haven't found it for opensuse

    i really don't know how to build such a thing with pear.
    if someone could teach me that?? please..
    or the easy way point me to an how-to manual or something.

    thanks in advance..

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,519
    Blog Entries
    15

    Default Re: Imagemagick / apache / php

    Quote Originally Posted by arnoldnijboer
    Thanks for the response.

    indeed it seems to search for a imagick.so.1 or something.
    i can't find it.
    in ubuntu there is a php_imagick module for apache2. but i haven't
    found it for opensuse

    i really don't know how to build such a thing with pear.
    if someone could teach me that?? please..
    or the easy way point me to an how-to manual or something.

    thanks in advance..
    Hi
    Use YaST and search on php5 ( From the cli using zypper it's, zypper se
    php5 ) you will find php5-pear is part on the dvd.

    If you search here for php5-imagick it's there?
    Get It

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
    up 6:28, 1 user, load average: 0.21, 0.13, 0.08
    GPU GeForce 6600 TE/6200 TE - Driver Version: 177.80


  5. #5
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Imagemagick / apache / php

    PEAR usage is quite similar to package management systems. You can do something like

    Code:
    pear install imagick
    Anyway I'm sure it's documented out there.

  6. #6

    Default Re: Imagemagick / apache / php

    Whell thanks guys..

    i first had to install php5-devel for pecl.
    than from cli pecl install imagick

    meanwhile found that neighter gcc nor make were installed

    but finally everything worked.. thanks for the help

Posting Permissions

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