Trouble enabling GD in php/apache

Andy Wodfer wodfer at
Fri Sep 24 13:02:41 UTC 2010

> [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 to be in
> /usr/local/ports/graphics/php5-gd/work/php-5.3.3/ext/gd/modules/
> I copied that into /usr/local/lib/php/20090626/ and edited
> /usr/local/etc/php/extensions.ini with a line of
> 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 ( line) and
in the /usr/local/lib/php/20090626 are present.

Any other ideas?


More information about the freebsd-questions mailing list