From owner-freebsd-questions@FreeBSD.ORG Fri Sep 24 13:02:41 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 AEF67106564A for ; Fri, 24 Sep 2010 13:02:41 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7460B8FC14 for ; Fri, 24 Sep 2010 13:02:41 +0000 (UTC) Received: by iwn34 with SMTP id 34so3024029iwn.13 for ; Fri, 24 Sep 2010 06:02:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=aqMnX+/N1e921cV5QqmIQR04hjP+6yUMiTSzQMXWGJg=; b=PK89iQQk7o9cu+pZnucp9GWwbJ6ohoXsuQGh4hLhHA0jykjEPu3ctn76fSAImj6/b4 Wx0Eqep62y9jsxQASk6juv+0t2+hkM9R3GzbrYWS0rYpsphL7F5+TY13m4caf/FryoXw kV1VoyaUmEwJYr0iEy3EBz2hGYWYPAPOVrIck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=lQ4g57fSCZsPPXc+gr61MHODxKrAPOwTB1Cs1MZLTHpAbFP+xDT8S8rJoCxXJhsDSU OPWd5CCbA/3SiFZADWigV59eSOIWuL/jLzn2ETD5cUSlXEgPCp5z/kHQYpfxIDvkp+i+ tZ4gzylpyrd30uYYkO9e1FvgDWl4HbPdDcTRU= MIME-Version: 1.0 Received: by 10.231.149.80 with SMTP id s16mr3813016ibv.81.1285333360930; Fri, 24 Sep 2010 06:02:40 -0700 (PDT) Received: by 10.231.190.129 with HTTP; Fri, 24 Sep 2010 06:02:40 -0700 (PDT) In-Reply-To: <4C9C9CC1.6090404@reiteration.net> References: <4C9C9CC1.6090404@reiteration.net> Date: Fri, 24 Sep 2010 15:02:40 +0200 Message-ID: From: Andy Wodfer To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:02:41 -0000 > > [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