PDA

View Full Version : Custom configure



webaltern
12-29-2008, 03:46 PM
Hi!

i want to know if its possible to have a custom ./configure for PHP with custom build because i want to install magickwand...?

Thank you

smtalk
12-29-2008, 06:34 PM
Yes, just use custom folder instead of configure (read CustomBuild FAQ for more info).

webaltern
12-30-2008, 10:00 AM
Thank you! I have put the line for magickwand and it seems to work because i can see it in the phpinfo... but now, i try to put the magickwand directory into the /ext in the php directory in the custombuild directory...but i realise that everytime i build php, custombuild extract the php.taz.gz file...so i can't put the magickwand directory into the /ext folder in the php directory... Do i need to configure/make php by myself or its possible with custombuild?

*sorry for my really bad english...i usualy talk in french...

smtalk
12-30-2008, 11:35 AM
Just set clean=no in the options.conf file and it won't do that :) Good luck!

webaltern
01-01-2009, 01:32 PM
thank you!

now I have done everything write on this page: http://www.imagemagick.org/MagickWandForPHP/index.html

and i have ./build php but I still have no magickwand(or imagemagick) in my phpInfo.... I think i have done everything correctly.. I see the custom configure line in the phpinfo for magickwand but I didn't see anyother information... and when i try to do the example on the magickwand example php said undefined function...

smtalk
01-01-2009, 01:42 PM
Maybe you are looking for http://pecl.php.net/package/imagick ? If not, why do not you try another way to install http://www.magickwand.org/download/php/MagickWandForPHP-1.0.7.tar.gz ?

MagickWand Extension for PHP :: Installation Instructions

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

Install without PHP source

1) Either install the required ImageMagick version or make sure that it
is installed (running "Wand-config --version" should give you the
required information).

2) Type

phpize
./configure
make
make install

3) Add

extension=magickwand.so

to your "php.ini" initialization file.

webaltern
01-14-2009, 06:36 PM
I have tried to install imagick without success.... I have created this thread but nobody reply to it: http://directadmin.com/forum/showthread.php?t=29257

remikk
05-04-2010, 06:33 AM
Yes, just use custom folder instead of configure (read CustomBuild FAQ for more info).

I think I don't understand.
I extract PHP and clean=no, copy magicwand and now I should run ./configure.
But what happen if I have add some options like:
"--with-pgsql=/var/lib/pgsql" \
"--enable-soap"
to my configure.php5 in /usr/local/directadmin/custombuild/configure/suphp

Do I have to run ./configure with all options to have compiled ?

remikk
05-06-2010, 05:04 AM
Could you answer ?