php4 + php5
m.seaman at infracaninophile.co.uk
Thu May 7 06:29:27 UTC 2009
> Using a single Apache 1.3.x install, is there a way to install both
> mod_php4 + mod_php5 together? I can't just upgrade to php5: not every
> webboard and such accepts php5 yet. On some dirs (or per vhost) I like
> 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
loading both mod_php4 and mod_php5 into the same instance of Apache
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 have
to work out a mechanism (proxying, running different instances on
different IP numbers or ports, etc.) to get the web traffic into the correct
However, the conflicts between php4 and php5 make this unfeasible, and
probably the solution here is to use separately jailed instances of apache.
[*] Well, there certainly is for apache22 -- I assume that the same applies
to the other apache versions in the ports.
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090507/2ffb15e7/signature.pgp
More information about the freebsd-questions