-
Notifications
You must be signed in to change notification settings - Fork 31
1. Requirements
Standard Apache configuration with mod rewrite enabled:
a2enmod rewrite
Standard setup:
apt-get install qgis-server libapache2-mod-fcgid
Tutorial about installing QGIS Server.
TEST: localhost GetCapabilities request
Note: Recommended QGIS version is 2.8.x, because there is a bug in latest QGIS 2.10 in GetLegendGraphics requests. Link
Database for administration (not for storing your data!), with some modifications possible to use also SQLite, but this setup is for PostgreSQL. You will have to work directly with database. You can use pgAdmin3, or phpPgAdmin for that purpose, if either is not possible you will be stuck with SQL queries runnning from pgsql.
Standard setup with PDO driver pdo_pgsql for PostgreSQL enabled. In your phpinfo output you should have something like this
If not, you can install it using
sudo apt-get install php5-pgsql