Click to See Complete Forum and Search --> : how to install gd library on php/apache/freebsd server?
searain
05-31-2005, 01:45 PM
Hello, I am new to freebsd.
I have checked around, trying to find a step by step commands instruction about install gd library and recompile php for the gd library. Didn't find a very clear one.
Could any one help?
Thanks!
thorpe
05-31-2005, 01:57 PM
never used bsd, but i assume its simular to linux.
./configure --with-gd
make
make install
of course you'll prbably want to add more extensions to the ./configure line.
searain
05-31-2005, 02:54 PM
so i can use phpinfo() to grab my current configure options, and add this --with-gd option
And then
make
make install
if the ./configure fails for some reasons. as long as i don't run make
make install
my php will be fine.
if ./configure succeeds, then
make
make install
will simply do the job.
Right?
Thanks!
searain
05-31-2005, 04:04 PM
http://www.onlamp.com/pub/a/php/2003/03/27/php_gd.html
Thanks!
It works well, and the configure gives me an error that it cannot find zlib directory.
the link above hit right at this spot and solved the configure error problem.
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.