Custom configure

webaltern

Verified User
Joined
Feb 10, 2008
Messages
175
Location
Québec, Canada
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
 
Last edited:
Yes, just use custom folder instead of configure (read CustomBuild FAQ for more info).
 
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...
 
Just set clean=no in the options.conf file and it won't do that :) Good luck!
 
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...
 
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.
 
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 ?
 
Back
Top