A roundup of links on how to run PHP4 and PHP5 on the same server;
John Coggeshall explains, using two Apache instances, Apache’s mod_proxy and a virtual host.
Urs Gehrig explains. This is probably about the quickest and easiest way to get them running together. Of course PHP as a CGI is not quite the same as an Apache module, performance / $_SERVER variable-wise. Urs also has a handy page of links on PHP5 Installation and related here.
Tobias Schlitt explains how to get both running as apache modules under Linux.
Harry Fuecks is the Engineering Project Lead at Tamedia and formerly the Head of Engineering at Squirro. He is a data-driven facilitator, leader, coach and specializes in line management, hiring software engineers, analytics, mobile, and marketing. Harry also enjoys writing and you can read his articles on SitePoint and Medium.
The Principles of Beautiful Web Design, 4th Edition
Learn PHP in One Day and Learn It Well
Docker for Web Developers