< AJAX Implementation

Apache & Mapserver Windows Manual Installation >

Appendix A. Mapserver Debian Installation

Some Debian packages are available for PHP 5 and MapServer[2]

A.1. Setting Up Your Repository and Preferences File

Add the following to your /etc/apt/sources.list :

# cartoweb
deb http://dev.camptocamp.com/packages/debian/prod/ sarge main
deb-src http://dev.camptocamp.com/packages/debian/prod/ sarge main

You may want to pin c2c packages higher than 1000 to have them preferred over the upstream ones, even if downgrading. Add in /etc/apt/preferences:

Package: *
Pin: release o=c2c
Pin-Priority: 1100

A.2. Installing the Packages

To install PHP/MapScript and PHP 5, type the following:

apt-get update
apt-get install php5-mapscript 

If you want to install PostGIS and PostgreSQL:

apt-get install libpostgis1-pg80

If you want to install the Pgdijkstra PostgreSQL extension:

apt-get install pgdijkstra


[2] Some of the packages were inspired from http://agrogeomatic.educagri.fr/.

valid xhtml 1.0 valid css