Install problem - Yum and CentOS

MagickWand for PHP is an object-oriented PHP interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning MagickWand for PHP.
Post Reply
croesus

Install problem - Yum and CentOS

Post 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????
croesus

Re: Install problem - Yum and CentOS

Post by croesus »

Never mind..

solved the problem for the most part

:)
andrabr

Re: Install problem - Yum and CentOS

Post by andrabr »

How?
Don't be a tease :?
When you find a solution, you got to post it here!

A>
croesus

Re: Install problem - Yum and CentOS

Post 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.
andrabr

Re: Install problem - Yum and CentOS

Post 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.
Post Reply