"Sebastian Lauwers" <da***********@nospam.9online.fr> wrote in message
news:41***********************@news.free.fr...
Mike wrote: We want to set up a PHP server for instructors to teach PHP, but
different instructors have different needs. Is it possible to install
PHP 4.3.8 *and* PHP 5 on the same machine? Perhaps using different
ports or something to keep them separated? I have a Windows 2003
Server running IIS6.
Thanks.
I have php 4.3.8 and 5.0.0 running great on windows xp pro.
Although it's with Apache 2.0.50, this shouldn't be a big deal with ISS.
I've installed PHP4 as CGI and PHP5 as an apache module.
There are some tutorials out there that show how you can do it, never
searched for IIS though, but i'm sure some geek managed it.
If you need more info.
HTH,
Sebastian
On Apache 2 I managed to get both running as modules with the following:
LoadModule php4_module c:/php/sapi/php4apache2.dll
LoadModule php5_module c:/php5/php5apache2.dll
AddType application/x-httpd-php .php
AddHandler php-script .php5
..php5 files are handled by the PHP5 Apache handler, while .php are handled
by the PHP4 Apache filter (because php4_module is loaded first). Couldn't
get them to use different php.ini though. Even though PHP4 is running as a
filter, it still thinks the SAPI type is apache2handler.
Maybe the behavior is different on Linux. Anyone?