Re: php4 and php5 together
| From: | Chris Hewitt | Date: | Fri, 20 Aug 2004 15:58:54 +0000 |
| Subject: | Re: php4 and php5 together | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-14180@lists.php.net to get a copy of this message | ||
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