Trouble enabling GD in php/apache
Andy Wodfer
wodfer at gmail.com
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 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?
cheers,
Andy
More information about the freebsd-questions
mailing list