running php4 and php5
Matthew Seaman
m.seaman at infracaninophile.co.uk
Sat Oct 30 03:42:54 PDT 2004
On Fri, Oct 29, 2004 at 11:11:56PM -0400, Steel City Phantom wrote:
> i need to configure both on my bsd machine. i found a few pages on the
> web that had some general instructions on how to do it, but i was hoping
> someone here could tell me how to do it using the ports collection.
> http://wiki.coggeshall.org/37.html looked promising, but i wanted to see
> what you guys thought first
>
> one requirement that i have is i need to run pretty much all the php
> extentions for both of them. so if i run php4-extensions and
> php5-extension, what am i going to screw up?
Yes -- you won't be able to run both mod_php4 and mod_php5 in the same
instance of apache. Also you'll have to fiddle around with $PREFIX in
order to get both sets of ports installed at the same time.
Probably your best bet is to set up a jail(8) to run one of the apache
instances in. You can use mod_proxy to make the content of the second
server appear as part of the first one if you need to.
Cheers,
Matthew
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041030/03c4d79c/attachment.bin
More information about the freebsd-questions
mailing list