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

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 |

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

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

pear install imagick

Anyway I’m sure it’s documented out there.

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 :frowning:

but finally everything worked… thanks for the help