Page 1 of 1

Install problem - Yum and CentOS

Posted: 2007-08-04T12:08:31-07:00
by croesus
I am running a CentOS 4.5 server with the latest apache.

I used yum to install php so I only have the binary packages and not the source code and I am having quite a bit of trouble getting magickwand for php to work. I installed the latest version of ImageMagick no problem (not via yum) and have tested that but still can't get magickwand for php to work.


anyone else run into this????

Re: Install problem - Yum and CentOS

Posted: 2007-08-12T16:24:09-07:00
by croesus
Never mind..

solved the problem for the most part

:)

Re: Install problem - Yum and CentOS

Posted: 2007-08-22T15:07:20-07:00
by andrabr
How?
Don't be a tease :?
When you find a solution, you got to post it here!

A>

Re: Install problem - Yum and CentOS

Posted: 2007-08-22T15:10:24-07:00
by croesus
You cant use yum to install imagemagick you need to get a more recent version and compile it on your server yourself. That is what I did!


You have to do the same for PHP too. that is the key. Yum installs the binary of php but not the source. you have to download the source and reconfigure it for Magickwand for PHP to work.

Re: Install problem - Yum and CentOS

Posted: 2007-08-22T18:34:12-07:00
by andrabr
Thx!

I actually discovered that in my case recompiling PHP was not necessary:

I compiled and installed ImageMagic, and then installed MagicWand as a loadable module.

All I had to do for MagicWand was:

phpize
./configure
make

then drop the resulting magicwand.so next to other PHP modules and add it to PHP.ini

DONE.

I hope this helps someone.