How do you enable PHP4 and 5
Posted: Fri Jul 11, 2008 4:52 pm
Can they run at the same time or do they conflict? How do you set it up so they can run on the same machine, but not at the same time?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Hmmm...interesting...didn't even think of that one...I think people who run them simultaneously run one as a CGI. I suppose you could just mod_rewrite to 'cgi-bin/php' instead of 'index.php' and clean URLs would be the same.
Same Apache instance...but how do you tell Apache to run PHP4 or PHP5? Requiring the extension would be a PITA...what happens to legacy PHP applications? Do I change their extensions from php4 to php5? It owuld be ideal if I could put php4 applications in a php4 directory and php5 applications in another directory.Ollie Saunders wrote:You can run then in the same apache as long as you use shared object and disambiguate them with .php4 and .php5 extensions (or whatever takes your fancy)