Date: Fri, 24 Sep 2010 14:31:15 +0100 From: John <comp.john@googlemail.com> To: Andy Wodfer <wodfer@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Trouble enabling GD in php/apache Message-ID: <20100924133115.GA41697@potato> In-Reply-To: <AANLkTi==st8c-5Xf_gbF4B1TrM6YE34=6LGCsx5j8M6R@mail.gmail.com> References: <AANLkTimyy7HepzOQBhayt-sswiEWUdeGWxEVd1YFwCtd@mail.gmail.com> <4C9C9CC1.6090404@reiteration.net> <AANLkTi==st8c-5Xf_gbF4B1TrM6YE34=6LGCsx5j8M6R@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 GPG: 0xF08A33C5
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100924133115.GA41697>