From owner-freebsd-questions@FreeBSD.ORG Tue Jul 20 13:46:50 2004 Return-Path: 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 DD8E016A4CE for ; Tue, 20 Jul 2004 13:46:50 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E5B143D5E for ; Tue, 20 Jul 2004 13:46:49 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i6KDkhJR028463 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Jul 2004 14:46:43 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i6KDkg0k028462; Tue, 20 Jul 2004 14:46:42 +0100 (BST) (envelope-from matthew) Date: Tue, 20 Jul 2004 14:46:42 +0100 From: Matthew Seaman To: Gabriel Ambuehl Message-ID: <20040720134642.GA28262@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Gabriel Ambuehl , questions@freebsd.org References: <128634053.20040720151736@buz.ch> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline In-Reply-To: <128634053.20040720151736@buz.ch> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Tue, 20 Jul 2004 14:46:43 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: questions@freebsd.org Subject: Re: How to configure PHP build? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 13:46:51 -0000 --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 20, 2004 at 03:17:36PM +0200, Gabriel Ambuehl wrote: > Hi, > after the last PHP commits, I can't seem to be able to configure my > PHP builds anymore. It keeps on telling me > =3D=3D=3D> Found saved configuration for mod_php4-4.3.8_1,1 > and subsequently starts to build right away. >=20 > Is there any way to get it to behave like in the past, specifically > asking me what libs it should compile in? >=20 > Any help would be greatly appreciated. To change the configuration of any port that uses the OPTIONS mechanism, simply do: # make config in the port directory. Note that with the new PHP setup, most of the configurable bits are now in the lang/php4-extensions or land/php5-extensions ports -- not that you need to install either one of those. They're just meta-ports where you can select a bunch of php extensions easily. Since each extension is a separate port now, you can just go round and install all the one you want. Nb. To get PHP to load the shared modules correctly, you'll need to change the 'extension_dir setting in /usr/local/etc/php.ini. I found that setting it like this: extension_dir =3D "/usr/local/lib/php/20040412/" did the trick. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA/SJCiD657aJF7eIRAheGAJ4ifVm7rKwsPd6+M18mI8t0+oshiQCcD/gH FOG+CxbSSqEZyYJMw4bxc88= =rudV -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7--