From owner-freebsd-questions@FreeBSD.ORG Fri Sep 24 13:58:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 678AD1065672 for ; Fri, 24 Sep 2010 13:58:06 +0000 (UTC) (envelope-from comp.john@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id EC6FE8FC1F for ; Fri, 24 Sep 2010 13:58:05 +0000 (UTC) Received: by wyb33 with SMTP id 33so3545028wyb.13 for ; Fri, 24 Sep 2010 06:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=j7irgM5tqt1GoEPyxE1bBlSBrK0pZ4dhUwhmXDUXVhY=; b=YcgKWN9TmVT0XxF0Rtaz6pnRV90h96QdI8dPFR+luuA5ykBf4Jy0WxxELzNzx4CKze ATKoeOZrOUvyU6WQO9i2+W3JXsIvKvFsuy3BBUyThdAGfXMxRZYdr/5LzatpTHOK7alv 6gRU2ZG1m9+czUY30PtUoxFM3XOTK5SgO28ME= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=GZocEWQ0zOVNAAG38QFvSPuj91oTpeMOcCRnuQoy5nZ6+2lNPYUu13hNmyqFl1ChVZ v75ApsjGP6G6dmsA5G6wwPMGy/l12nlECUHBYJF6xSKp6cahKzkSYo6OzHrC5jMtVFTo O24iQMrCQc8fm3sShMOSBNcNkxdvzyFXdfa6k= Received: by 10.227.157.17 with SMTP id z17mr2834539wbw.122.1285335100775; Fri, 24 Sep 2010 06:31:40 -0700 (PDT) Received: from potato (potato.growveg.org [62.49.247.163]) by mx.google.com with ESMTPS id o15sm1328358wer.15.2010.09.24.06.31.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 24 Sep 2010 06:31:39 -0700 (PDT) Date: Fri, 24 Sep 2010 14:31:15 +0100 From: John To: Andy Wodfer Message-ID: <20100924133115.GA41697@potato> References: <4C9C9CC1.6090404@reiteration.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions Subject: Re: Trouble enabling GD in php/apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2010 13:58:06 -0000 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