[SOLVED] Trouble enabling GD in php/apache

Michael Powell nightrecon at hotmail.com
Mon Sep 27 19:16:58 UTC 2010


Andy Wodfer wrote:

> 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:
[snip]
> 
> I solved my problem by manually deleting /usr/local/lib/php/20090626/gd.so
> and reinstalling the php5-extensions.

For me it was reordering the loading order in php.ini. Initially I had tried 
placing it at the bottom, as well as moving xcache.so to the end. When I 
moved pdf.so to _after_ gd it magically began working: 

extension=gd.so
extension=pdf.so
extension=xcache.so 

-Mike





More information about the freebsd-questions mailing list