RE: [PHP] PHP 4 and PHP 5 on same windows server
| From: | Thijs Lensselink | Date: | Thu, 17 Jun 2004 11:56:23 +0000 |
| Subject: | RE: [PHP] PHP 4 and PHP 5 on same windows server | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-188465@lists.php.net to get a copy of this message | ||
Well you can compile php4 as apache module (.so) and load
it the normal way. Then you can compile php5 as a cgi binary
and load it in a virtual host like this:
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
Action php5-script /cgi-bin/php5/php
AddHandler php5-script .php .phtml
Options +ExecCGI
Chris Lott wrote on donderdag 17 juni 2004 13:21:
> Are there instructions available (or can anyone fill me in) on the
> best way to set up PHP 5 to run on my Windows/Apache server
> concurrently with my PHP4 install? I am currently running PHP4 as an
> Apache module...
>
> c
> --
> Chris Lott