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!

        Write a Reply...