You do not have to install every thing listed on ubuntuGIS. Only what you
need with "apt-get"

Here are the steps I use to get Mapserver on my machine. Note the
python_software-properties must be added to get the apt-add-repository
needed to get the ubuntugis repository.


#
#  ++  update repositories  ++
sudo apt-get update
#
#  ++  upgrade installed packages  ++
sudo apt-get upgrade
#
#
# +++++  add repositories  +++++
#
# ++  install python-software-properties       ++
# ++  to get the "apt-add-repository" command  ++
sudo apt-get install python-software-properties
#
#  ++  add ubuntugis repository  ++
sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable
#
#  ++  update repositories  ++
sudo apt-get update
#
#
# ++++  PostGIS  ++++
#
apt-cache search postgis  # this just finds the postgis related stuff
sudo apt-get install             \
         postgis                 \
         postgresql-9.1-postgis
#
# ++++  MapServer  ++++
#
sudo apt-get install mapserver-bin php5-mapscript cgi-mapserver

Give this a try if you have not figured it out already.

Worth


-----Original Message-----
From: Vince Miller [mailto:[email protected]] 
Sent: Sunday, October 28, 2012 11:44 AM
To: Worth Lutz
Subject: RE: [mapserver-users] mapserver and php

Thank you for your advice. My resistance to using the ubuntugis ppa stems
from my desire to install on my server ONLY mapserver and postgis, and other
things that these two require, and nothing else that is included in this
ppa. It's not clear to me how to do this.

Vince

--- On Sun, 10/28/12, Worth Lutz <[email protected]> wrote:

> From: Worth Lutz <[email protected]>
> Subject: RE: [mapserver-users] mapserver and php
> To: "'Vince Miller'" <[email protected]>
> Date: Sunday, October 28, 2012, 5:49 AM
> Do you need to compile it yourself?
> 
> I use MapServer from the ubuntugis ppa:  
> 
> https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable
> 
> With this I have no trouble with PHP Mapscript.
> 
> Worth
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]
> On Behalf Of Vince Miller
> Sent: Saturday, October 27, 2012 7:40 PM
> To: [email protected]
> Subject: [mapserver-users] mapserver and php
> 
> I'm trying to get Mapserver 6.0.3 running with Apache and
> PHP under Ubuntu
> 12.04. The Apache/Mapserver connection works, as does the
> apache PHP
> connection, but Mapserver won't talk to PHP. I try compiling
> Mapserver
> --with-php=/usr/local/src/mapserver-6.0.3/mapscript/php and
> it fails to find
> php_config.h or php_version.h, neither of which can be found
> anywhere in the
> php files, let alone in mapscript/php. What am I doing wrong
> here?
> 
> Thank youy very much for your help.
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2013.0.2742 / Virus Database: 2617/5859 - Release
> Date: 10/28/12
> 
> 
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.2742 / Virus Database: 2617/5860 - Release Date: 10/28/12

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to