PDA

View Full Version : running PHP4 and PHP5 simultaneously


alienv
27th April 2010, 12:38
Hi there

After reading similar thread about ISPc2 here http://www.howtoforge.com/forums/showthread.php?t=8615
i have a few questions..

how this change since that time ?
its still possible to support both php versions on one server ?
i know that latest debian dont have php4 packaged, someone knows how its on centos ?

i'm going to set up fresh machine and still need to support old php4 for a while.

thanks for help and hints

EDIT wrong category, sorry, please move my topic

Mark_NL
27th April 2010, 13:33
You could run php5 as apache module, and php4 as CGI

There is an old how-to on this site:
http://www.howtoforge.com/apache2_with_php5_and_php4

Ben
27th April 2010, 13:57
I'd not select my disitrbution whether they have a php4 package or not.
Select the distribution you want, an compile php4 manually.