PHP: installing magicwand

Published by

Posted on January 07, 2009

** REQUIRED ** ImageMagick version :: 6.3.5-9
Last-known-good ImageMagick version :: 6.3.5-9

1.) Check out the latest version from magicwand servers

svn co https://www.imagemagick.org/subversion/MagickWandForPHP/branches/MagickWandForPHP-1.0.7 MagickWandForPHP-1.0.7

I would recommend going to http://magickwand.org/ to verify the latest version , at the time of the post the latest was 1.0.7

2.) untar the compressed file using tar xvzf filename.tar.gz

3.) cd into the new folder and run phpize
4.) run ./configure
5.) make
6.) make test
7.) make install
8.) make clean

note * on cpanel the make install will install the extension in /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ *
for all other distros you will need to move the magickwand.so to your extension folder. you can locate your current ext_dir by issuing the following command php-config –extension-dir

or added the following to your php.ini file
9) add extension=magickwand.so ** you may need to note the dir location of the module such as =/folder/magickwand.so
Magicwand