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