<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1491" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hey jacob,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>First of all you do not nee to put your DLLs in
windows System directory.</FONT></DIV>
<DIV><FONT face=Arial size=2>You can put them to the root of php directory
where you can find php.exe.</FONT></DIV>
<DIV><FONT face=Arial size=2>So your hole system can work without setting the
PATH variables.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Two differents ways to resolve your problem (<FONT
face=Arial size=2>testing different versions of mapscript </FONT>):
</FONT></DIV>
<DIV><FONT face=Arial size=2>++++++++++++++++++++++++++++++++</FONT></DIV>
<DIV><FONT face=Arial size=2>1.</FONT></DIV>
<DIV><FONT face=Arial size=2>You ca use different php directories (for exemple
php4ms44 and php4ms46)</FONT></DIV>
<DIV><FONT face=Arial size=2>After that you use different php file extensions (
for exemple .php4ms44 php4ms46)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In your configuration file of your webserver you
need to associate the file extension name to the right php.exe</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>in apache configuration file httpd.conf
:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>ScriptAlias /php4ms44/
"c:/yourpathtophp/php4ms44/"<BR> AddType application/x-httpd-php
.php4ms44 <BR> Action application/x-httpd-php
"/php4ms44/php.exe"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>ScriptAlias /php4ms46/
"c:/yourpathtophp/php4ms46/"<BR> AddType application/x-httpd-php
.php4ms46 <BR> Action application/x-httpd-php
"/php4ms46/php.exe"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>++++++++++++++++++++++++++++++++</FONT></DIV>
<DIV><FONT face=Arial size=2>2.</FONT></DIV>
<DIV><FONT face=Arial size=2>An other way is to use seperate web servers on
differents ports (80; 81; 82; for exemple <A
href="http://localhost:90">http://localhost:90</A> <A
href="http://yourdomain:97">http://yourdomain:97</A>) on the same
domain witch use differents php.exe</FONT></DIV>
<DIV><FONT face=Arial size=2>In this case you do not need different php file
extension names.</FONT></DIV>
<DIV><FONT face=Arial size=2>++++++++++++++++++++++++++++++++</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Hope it helps, </FONT></DIV>
<DIV><FONT face=Arial size=2>Bernd</FONT></DIV>
<DIV>-------><----------<BR>Bernd Deckert<BR>01MAP - la carte vecteur
d'information<BR>35, allée d'Irlande<BR>34080 Montpellier</DIV>
<DIV> </DIV>
<DIV>04.67.45.60.27<BR>06.83.39.16.62<BR><A
href="http://www.01map.com">http://www.01map.com</A><BR>-------><----------</DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=jacob.delfos@MAUNSELL.COM
href="mailto:jacob.delfos@MAUNSELL.COM">Jacob Delfos</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=MAPSERVER-USERS@LISTS.UMN.EDU
href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, June 17, 2005 10:52
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [UMN_MAPSERVER-USERS] Running
different versions on Windows simultaneously</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I am about to set up a new internal server for
running mapserver-based sites, and I am trying to do it such that I can run
different versions of php_mapscript (and mapserver).</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>The problem I am running into is that certain
versions of the dll are compiled against certain of its dependent dll's. For
example, php_mapscript_46 works fine with the gdal12.dll that comes with it,
but not with the dll I compiled for php_mapscript_44. And one gdal12.dll will
only work with the ecw dll's it was compiled with.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I have tried keeping them in separate
directories. This nearly worked, but for some reason gdal12.dll MUST sit in
the windows System directory (even if you set up your paths correctly). I
cannot just sit with the php_mapscript dll. The same goes for some other
dll's. Even if the dependency walker says that all is fine, the website will
not run unless it sits in system32.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Has anyone been able to implement this more
successfully? Any tips? </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Jacob</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>JACOB DELFOS<BR>SPATIAL INFORMATION
ANALYST<BR>Maunsell Australia Pty Ltd<BR>629 Newcastle Street, Leederville, WA
6007<BR>PO Box 81, Leederville, WA 6902<BR>Western Australia<BR>ABN 20 093 846
925</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Tel + 61 8 9281
6185<BR>Fax + 61 8 9281 6297<BR><A
href="mailto:jacob.delfos@maunsell.com">jacob.delfos@maunsell.com</A><BR></FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:jacob.delfos@maunsell.com"></A></FONT> </DIV></BLOCKQUOTE></BODY></HTML>