[SOLVED] Trouble enabling GD in php/apache

Andy Wodfer wodfer at gmail.com
Sun Sep 26 19:13:55 UTC 2010


On Fri, Sep 24, 2010 at 1:52 PM, Andy Wodfer <wodfer at gmail.com> wrote:

> I'm running FreeBSD 8.0 RELEASE.
>
> I can't get GD enabled. I have installed latestes php5 from ports aswell as
> php5-extensions and enabled GD on the option screen:
>
> cd /usr/ports/lang/php5
> make deinstall
> make clean
> make rmconfig
> make install clean
>
> cd /usr/ports/lang/php5-extensions
> make deinstall
> make clean
> make rmconfig
> make install clean
>
> I'm running the latest Apache 2.2.x version and GD 2.0.35.
>
> I'm currently doing a portupgrade -a to see if that helps, but I think not.
>
> What's the correct way of getting GD to work on Ie. a webshop (opencart)?
>
> Thanks for all help!
>
> Cheers,
> Andy
>

I solved my problem by manually deleting /usr/local/lib/php/20090626/gd.so
and reinstalling the php5-extensions.

/Andreas


More information about the freebsd-questions mailing list