Date: Thu, 07 May 2009 07:28:22 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Mark <admin@asarian-host.net> Cc: freebsd-questions@freebsd.org Subject: Re: php4 + php5 Message-ID: <4A027F86.70007@infracaninophile.co.uk> In-Reply-To: <200905062101.n46KYajh086945@asarian-host.net> References: <200905062101.n46KYajh086945@asarian-host.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A027F86.70007>