Hello,
I need to install magickwandforphp, an imagemagick php integrator
Well, I have installed imagemagick (with a lot of jobs as I had to find a lot of rpm) and downloaded the magickwandforphp
I know that I have to recompile PHP with the option –with-magickwand=IMG_MGCK_DIR But I’m a little confused on howto install magickwandforphp
Here is the isntruction step
-
Extract the contents of the archive this file was in, or copy the
entire directory the this file is in (make sure that it is still called
“magickwand”) to the “ext” directory in the PHP source folder. So, if
your PHP source folder is called “PHP_SRC_DIR”, you should end up with
a directory structure like the following:PHP_SRC_DIR/ext/magickwand/
-
Go into the “PHP_SRC_DIR/ext/magickwand/” directory, and run “phpize”.
(A note: if this is the first time PHP is being installed, you have to
install PHP without MagickWand, because “phpize” is a part of the PHP
distribution.) -
Go back to the main PHP source directory (from the example above, it
would be “PHP_SRC_DIR”, and run:rm ./configure
and then
./buildconf --force
to remove and rebuild the PHP configure script.
-
Follow the PHP installation instructions, but add
–with-magickwand=IMG_MGCK_DIR
I thought use the php rpm src from interworx as I already done it for zip and mime_type but but here I don’t understand where I have to copy the all files in PHP_SRC_DIR/ext/magickwand/
I have to copy the contents of the tar file somewhere PHP_SRC_DIR/ext/magickwand/
I think it is because they use a src PHP, so it should have an “ext” dir, but with the RPM source, how I have to do ?
If you have some informations to help me to add this magickforphp by using the interworx SRPM php file, I’ll apreciate
Thanks a ton
Pascal