I did a presentation at last month's AzPHP meeting on how to run both PHP4 and PHP5 at the same time on Apache . PHP4 runs as an Apache module, and PHP5 runs as a FastCGI program.
You get a lot of the flexibility out of this setup, and avoid most of the performance problems usually associated with CGI. I put the talk notes up on this website for anyone who's interested.
