FreeBSD+Apache+PHP+"GD"

K Anderson freebsduser at comcast.net
Mon Jul 21 00:24:31 PDT 2003



Denis wrote:
> Hi!
> 
> I have installed Apache 1.3.27 and PHP4.
> Does anybody know how can I turn on the GD library support?
> 
> --
> Denis Bolotnov, Russia.
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 
Hey there Denis,

When you installed PHP did you tell it to have GD support? You can check 
by creating a page that has the phpinfo() function in it. It should 
report something like this.

gd
 

    GD Support       enabled
    GD Version       bundled (2.0.12 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    GIF Read Support enabled
    JPG Support      enabled
    PNG Support      enabled
    WBMP Support     enabled
    XBM Support      enabled
 

If it doesn't then you either overlooked GD support. If I recall recall, 
installing PHP from ports asks you want you want as far as GD support.

HTH



More information about the freebsd-questions mailing list