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!
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!
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.
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!
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.