Click to See Complete Forum and Search --> : Module install for PHP (imagick)


stevenh
09-15-2004, 04:46 PM
I am currently in the process of setting up a new SuSE server to run as a webserver. The site we will be putting on it, however, requires the imagick PECL module

http://pecl.php.net/package/imagick

The problem i am runnning into - is the fact that to install it - i need to re-compile PHP. the problem is that i cannot find where i am supposed to do that - since PHP is installed via the installation. I have installed the -devel package - but i cannot find the configure file i need to enable the module.

Anyone have any ideas on where i should procede next? it would be nice if i could keep it in package form and still get the needed module installed. but whatever it takes at this point is fine with me.

Thanks!

NOTE: using SuSE 9.1 Professional

hard candy
09-17-2004, 03:04 PM
Are you saying you need to re-compile php or the imagick module? And are you asking where to get the php source code?
http://www.php.net/downloads.php

Then you would run ./configure with whatever arguments you need, that should generate your make file. Not sure if I understand the question, though.

stevenh
09-17-2004, 03:10 PM
I am trying to use the sources that come with SuSE. I want to keep everything packaged in RPM's - and get the additional features of imagick.

But so far - i dont think that linux is smart enough to run like that yet. So i am using an exec command line and changing around the site.

But - still, it would be nice to be able to use the module - its just not possible with the software that comes with an OS it seems. I would download PHP and re-compile it - but i dont want to spend the HOURS it would take to put all the files into their proper places and configure it all.

(Wishes that he could use windows on this project - with DLL's)

hard candy
09-17-2004, 03:58 PM
How about this, altlinux imagick.src.rpm, (http://altlinux.org/index.php?module=sisyphus&package=php-imagick) and compile it for your Suse?

Compiling src rpms (http://www.linuxworld.com.au/index.php/id;1013924616;fp;2;fpid;37)

stevenh
09-17-2004, 04:24 PM
hmm - this may have been what i was looking for! i looked all over for an RPM of that module - guess i will have to check out this altlinux a bit more!

Thank you - i appreciate your help even though i was in a badgering mood.

I will let you know how this goes in a few minutes.