wiki:InstallSideBySide1.2and2.0Apache

These instructions allow you to install a version of MapGuide Open Source 2.0 side by side with MapGuide Open Source 1.2, using the bundled Apache install for both. 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, using the Apache bundled configuration.

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

  • 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.
  • Use default options, except to specify port 8018 for the Apache port. You can change this after installation if you want, but it's easier to change during install.
  • The ApacheMapGuide service will not install because it has the same name as an existing service. To fix this, perform the following steps
    • Open a command prompt
    • Change directory to
       
          C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions\Apache2
      
      
    • Type:
       
            bin\httpd -k install -n "ApacheMapGuide2.0"
            net start ApacheMapGuide2.0
      
      
  • 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
      
      
  • Re-merge the FastCGI registry file that you exported earlier.

If you are getting a lot of 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.

Last modified 17 years ago Last modified on 12/18/07 09:47:19
Note: See TracWiki for help on using the wiki.