Trouble enabling GD in php/apache
comp.john at googlemail.com
Fri Sep 24 13:58:06 UTC 2010
On Fri, Sep 24, 2010 at 03:02:40PM +0200, Andy Wodfer wrote:
> > [snip]
> > I had to install a new server and was surprised the extensions never
> > loaded. However I knew from other installations that for example the gd
> > extension should be in extensions.ini - I looked in there and it was
> > absent. So what I had to do is to search for it. Before I did that, I
> > had to run locate.updatedb as root. This showed gd.so to be in
> > /usr/local/ports/graphics/php5-gd/work/php-5.3.3/ext/gd/modules/gd.so
> > I copied that into /usr/local/lib/php/20090626/ and edited
> > /usr/local/etc/php/extensions.ini with a line of extension=gd.so
> > I had to do this with everything selected in php5-extensions, and then
> > restart the webserver.
> Hi John,
> thanks for your input. In my case both extension.ini (gd.so line) and gd.so
> in the /usr/local/lib/php/20090626 are present.
> Any other ideas?
how bizarre. Does phpinfo() show gd? Sorry for the simple question, but
it is inportant ;)
John - comp dot john at googlemail dot com
OpenBSD firewall | FreeBSD desktop | Ubuntu Karmic laptop
More information about the freebsd-questions