From owner-freebsd-questions@FreeBSD.ORG Thu May 7 06:29:27 2009 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 83A36106564A for ; Thu, 7 May 2009 06:29:27 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 08AB28FC0A for ; Thu, 7 May 2009 06:29:26 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n476SSF5016881; Thu, 7 May 2009 07:28:29 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.2 smtp.infracaninophile.co.uk n476SSF5016881 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1241677709; bh=oC9Udcvej3dU5xdVEq7tvmm9nwu1TlbvbO+w/9sORLE=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4A027F86.70007@infracaninophile.co.uk>|Date:=20Thu ,=2007=20May=202009=2007:28:22=20+0100|From:=20Matthew=20Seaman=20 |Organization:=20Infracaninophile |User-Agent:=20Thunderbird=202.0.0.21=20(X11/20090420)|MIME-Versio n:=201.0|To:=20Mark=20|CC:=20freebsd-quest ions@freebsd.org|Subject:=20Re:=20php4=20+=20php5|References:=20<2 00905062101.n46KYajh086945@asarian-host.net>|In-Reply-To:=20<20090 5062101.n46KYajh086945@asarian-host.net>|X-Enigmail-Version:=200.9 5.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0 D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary= 3D"------------enigC4BBA8F70EBFC31A3284D829"; b=vObieiogHyadLI9PuTl38UsarAgGf2DHoAK6rq4L6UhZ1Fy/ebs9CVtQ/Xx5i2dei qzwrtP9/ajFBpC6wFCDj8eGZV+AHvaHwb7hfNgqyq04pmTd1naSbeEyYH8SXfbBvDO AJnGFKHqVNOEk+7VLhB9yiMtVqW7SuzxujuWEpfw= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4A027F86.70007@infracaninophile.co.uk> Date: Thu, 07 May 2009 07:28:22 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.21 (X11/20090420) MIME-Version: 1.0 To: Mark References: <200905062101.n46KYajh086945@asarian-host.net> In-Reply-To: <200905062101.n46KYajh086945@asarian-host.net> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigC4BBA8F70EBFC31A3284D829" X-Virus-Scanned: clamav-milter 0.95.1 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: php4 + php5 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: Thu, 07 May 2009 06:29:27 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC4BBA8F70EBFC31A3284D829 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Mark wrote: > Using a single Apache 1.3.x install, is there a way to install both >=20 > mod_php4 + mod_php5 together? I can't just upgrade to php5: not every >=20 > webboard and such accepts php5 yet. On some dirs (or per vhost) I like >=20 > the Apache server to use php5, though. No. At least, not within the current ports system. Quite apart from anything else, the php4 and php5 ports conflict -- they fight over installing files to certain locations. I'm also not certain that=20 loading both mod_php4 and mod_php5 into the same instance of Apache is viable. The standard answer to this sort of problem is to use multiple instances of apache. There's support in the rc scripts to do that[*] -- you'll hav= e to work out a mechanism (proxying, running different instances on different IP numbers or ports, etc.) to get the web traffic into the corr= ect apache instance. However, the conflicts between php4 and php5 make this unfeasible, and probably the solution here is to use separately jailed instances of apach= e. Cheers, Matthew [*] Well, there certainly is for apache22 -- I assume that the same appli= es to the other apache versions in the ports. --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigC4BBA8F70EBFC31A3284D829 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkoCf4wACgkQ8Mjk52CukIz55QCeIkHzDHwgRfhF7P7Wd9SUbWYg nNQAn1AQDzvaM4gX/7sI6875DUz9woXP =6ueJ -----END PGP SIGNATURE----- --------------enigC4BBA8F70EBFC31A3284D829--