For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > August 2004 > Re: [PHP-INSTALL] php4 and php5 together









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] php4 and php5 together
Chris Hewitt

2004-08-20, 3:56 pm

On Fri, 2004-08-20 at 14:14, Steffen Heil wrote:
> Hi
>
> I have the following urgend problem:
>
> I need to use php4 AND php5 on the same apache2 installation on debian
> sarge.
> Until now, I had php5 running as module and no problems so far.
>
> But now, I need to support ILIAS3, an php-based elearning plattform.
> This does not support php5 so far.
>
> What can I do? Is there a way to tell php5 to parse some files in
> "compatibility mode"?
> Or can I install php4 and php5 simultanously as modules?
>
> If I install php5 as module and php4 as cgi, what will be the performance
> implications?


You can run both as modules together. Use <virtualhost> in httpd.conf to
modify the URL so httpd knows whether you want PHP4 or PHP%. The
archives of this list will have a bit more.

Hope this helps.

Chris
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com