till wrote:
On 6/19/07, Brett Patterson brett@bpatterson.net wrote:
Depending upon the server (apache, lighttpd, etc.) an entirely new box is not necessary to run php4 and php5 concurrently ;)
Correct - I've managed to make it run with fcgi (Apache2). Then Gentoo for example has this CONCURRENTPHP USE flag (which didn't work for me, but is supposed to work), I've also had both modules (in different Apaches with mod_proxy) on FreeBSD.
It's doable, but not so pretty.
I'd argue that it's very easy to do (via fast-cgi) and the only option to run PHP anyway, if you are concerned about security. Especially with lighttpd this takes merely minutes to support this. I don't run php5, but I do run a separate php interpreter per "customer", each with their own php.ini. Once you have this setup up and running it's pretty sexy imo.
Ben