From owner-freebsd-questions@FreeBSD.ORG Tue Mar 7 00:20:45 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D10DB16A420 for ; Tue, 7 Mar 2006 00:20:45 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 715AF43D49 for ; Tue, 7 Mar 2006 00:20:45 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [192.168.2.2] ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id k270JamJ046050; Mon, 6 Mar 2006 18:19:57 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <440CD18B.4060907@daleco.biz> Date: Mon, 06 Mar 2006 18:19:23 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060127 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Grant Peel References: <007801c64179$d5fa3270$6701a8c0@GRANT> In-Reply-To: <007801c64179$d5fa3270$6701a8c0@GRANT> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: php4 extensions 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: Tue, 07 Mar 2006 00:20:45 -0000 Grant Peel wrote: > Hi all, > > IU ran the php4-extensions a while back, but now a client is > asking for curl to be installed. > > When I run php4-extensions, it says that it (php4-extensions) > is already installed. > > How to I reconfigure it to load the GUI so I can install curl? > > Als0, > > I presume after that php4 will have to be re maked and installed to > include the curl libraries? > > I am using php as a dynamic mod in Apache (2.1) if that makes and > difference. > > -Thanks, > > Grant I'm thinking most of your assumptions above are correct. I'd try something like this (as root): $cd /usr/ports/lang/php4-extensions $make config $make FORCE_PACKAGE_REGISTER="YES" install clean This should allow you to add curl to your configuration (in 'make config') and then rebuild and force installation of the extensions. Try a brief PHP CLI test afterwards ... I don't know whether or not there's a chance that you may get duplicate entries in php.ini and/or extensions.ini as a result of this ... I had a recent (very minor) issue on a devel machine as a result of some operation (but I can't recall if it was a reconfig/reinstall or a plain portupgrade or something) where I received some messages of the ilk "'foo.so' already loaded in module Unknown on line 0" caused by duplicate entiries in extensions.ini ... but I'm not sure what caused this to happen. HTH, Kevin Kinsey -- Fortune favors the lucky.