Skip to content

Easy install/deploy QGIS Server and Lizmap Web Client on MS Windows

Notifications You must be signed in to change notification settings

GeoTux2/qgis_server_and_lizmap_on_windows

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

Easy install/deploy QGIS Server and Lizmap Web Client on MS Windows

Credits: João Gaspar, https://github.com/jonnyforestGIS

The following steps assume that the user will keep the suggested installation/deploy paths. If there is the necessity to use custom installatin/deploy paths then a number of configuration files (Apache, PHP) will need to be modified. This guide also assumes that on the Windows machine being used there aren't any other programs/services running on port 80.

  1. Download the OSGeo4W 64 bit installer: http://download.osgeo.org/osgeo4w/osgeo4w-setup-x86_64.exe

  2. Install the packages "qgis-ltr", "qgis-ltr-server", "gdal204dll" and "fcgi", let the installer manage the installation of dependencies

  3. Copy the "webserver" folder inside the C: drive

  4. Start the Apache web server by double clicking (as administrator) the file C:\webserver\Apache24\bin\httpd.exe

  5. As option Apache can be installed as Windows service by running (from the Windows console, launched as administrator) the following command:

C:\webserver\Apache24\bin\httpd.exe -k install

After that Apache can be started/stopped from the Windows Services control panel or from the Windows console unsing the command httpd.exe -k start

  1. Open a browser and test if Apache works:
http://localhost
  1. Test if PHP works:
http://localhost/info.php
  1. Test if QGIS Server works:
http://localhost/qgis/qgis_mapserv.fcgi.exe
  1. Using a Windows console, launched as administrator, go to the Lizmap Web Client folder
cd C:\webserver\www\lizmap

and then run the following command

C:\webserver\php73\php.exe lizmap/install/installer.php
  1. Test if Lizmap Web Client works:
http://localhost/lizmap/lizmap/www/index.php
  1. On a completely clean Window 10 machine you can get an error message about missing some library. If is the case just download and install them from the MS web site: https://www.microsoft.com/en-us/download/details.aspx?id=52685

About

Easy install/deploy QGIS Server and Lizmap Web Client on MS Windows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 61.4%
  • C 16.7%
  • JavaScript 14.9%
  • CSS 3.4%
  • Smarty 2.4%
  • HTML 0.5%
  • Other 0.7%