PDA

View Full Version : MagickWand installation?



emo
09-06-2008, 06:04 AM
Hello,

today I was trying to install MagickWand into PHP and I'm not sure how to follow those howto-steps at http://www.imagemagick.org/MagickWandForPHP/

I've downloaded the package, extracted it and put it in my php extension directory, but the files downloaded aren't really .so files so I think I've got to do something else.

On imagemagick.org it says I have to "phpize" them and then run ./buildconf in my "PHP source directory". But I can't find that file.

Does anyone have experience in this?

Thanks!

emo
09-06-2008, 07:43 AM
Wasn't difficult at all :) Figured it out myself and hopefully I've done it the right way.

Run:

phpize
./configure
make

Then take magickwand.so out of modules directory and move it to your php extension directory.

After that is done add:

[magickwand]
extension="magickwand.so"
to your php.ini and restart apache :)