Version 7 (modified by 17 years ago) ( diff ) | ,
---|
These instructions allow you to install a version of MapGuide Open Source 2.0 side by side with MapGuide Open Source 1.2 using IIS. Please note that this is NOT an officially supported configuration, and is to be used for testing purposes only.
These instructions assume that you have already installed MapGuide Open Source 1.2 following all defaults for an IIS install.
Install MapGuide Server 2.0
- Use all default options
- The service will not start because of port conflicts with MapGuide 1.2. To resolve this, go to
C:\Program Files\MapGuideOpenSource2.0\Server\Bin
- Edit the serverconfig.ini file with the following changes
[AdministrativeConnectionProperties] Port = 2820 [ClientConnectionProperties] Port = 2821 [SiteConnectionProperties] Port = 2822
Install MapGuide Web Extensions 2.0
We need to use the bundled Apache install because MGOS 2.0 uses the same IIS virtual directory as MGOS 1.2 and so two IIS installs will not work (this is due to the fact that the new MapGuide ISAPI agent requires some global settings for PHP and this ends up wrecking the 1.2 install---if anyone knows how to fix this we would be glad to hear about it).
The MGOS 2.0 installer currently sets some registry keys incorrectly. Before proceeding, export the HKEY_LOCAL_MACHINE\SOFTWARE\FASTCGI key using the registry editor.
- Install using the default options.
- The ApacheMapGuide service will not install because it has the same name as an existing service. To fix this, perform the following steps
- The server's port number in the WebServerExtensions will be incorrect. To resolve this issue:
- Navigate to
C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions\www
- Edit the webconfig.ini file as follows:
[AdministrativeConnectionProperties] Port = 2820 [ClientConnectionProperties] Port = 2821 [SiteConnectionProperties] Port = 2822
- Navigate to
Using the registry editor, import the reg file that you exported above.
Using the Services applet, restart the World Wide Web Publishing Service service.
Using the Services applet, restart the ApacheMapGuide service.
The URL that you will use to get to the 2.0 site is http://<machinename>:8008/mapguide.
If you are getting PHP error dialogs coming up. Start the registry editor, export (so that you have a copy) and delete the HKEY_LOCAL_MACHINE\SOFTWARE\PHP\5.2.1 key. Then restart the World Wide Web Publishing Service service.