Re: Can PHP 4 and 5 coexist on a single server?



Sorry to intrude, Justin and all,

I am looking to do the same on an Windows XP machine.
I have PHP 4 and Apache 2.0.55 configured and running. Looking to
install PHP 5, and be able to switch b/w them, to test different code.

Sincerely,
Tariq


Justin L. Kennedy wrote:
Our current webserver is a Linux Apache 2 engine running several websites
in separate virtual hosts. All of our websites were written for PHP 4,
and thus is the version of PHP running. But we are looking to host a copy
of MediaWiki which will start to require PHP 5 during the next major
release.

Since our existing sites are much to large to test and update to run under
PHP 5, I want to investigate whether we can install PHP 5 and configure
Apache to use PHP 4 for all the existings sites and use PHP 5 for the new
one.

Has anyone successfully done this, and how?

--
Justin Kennedy

.



Relevant Pages