Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2004 14:46:42 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Gabriel Ambuehl <gabriel_ambuehl@buz.ch>
Cc:        questions@freebsd.org
Subject:   Re: How to configure PHP build?
Message-ID:  <20040720134642.GA28262@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <128634053.20040720151736@buz.ch>
References:  <128634053.20040720151736@buz.ch>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040720134642.GA28262>