Some Debian packages are available for Php5 and Mapserver[2]
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
To install Mapscript and PHP 5, type the following:
apt-get update apt-get install php5-mapscript
If want to install PostGIS and PostgreSQL:
apt-get install libpostgis1-pg80
If want to install the pgdijkstra PostgreSQL extension:
apt-get install pgdijkstra
[2] Some of the packages were inspired from http://agrogeomatic.educagri.fr/.