[mapserver-users] Mapserver on a shared server

Stephen Woodbridge woodbri at swoodbridge.com
Thu May 30 13:29:36 EDT 2002


Juanse,

This is a repost of mail to David Bain. I think the first paragraph is
what you will need to ask your ISP about.

First, will the server owner allow you to add a PHP4 cgi executable and
the mapserver/mapscript shared object if it does not interfere with
other users?

Assuming that they will, download php4 into your own directory and
configure and build it, MAKE SURE you build PHP as a CGI executable NOT
as an apache shared object or module, and configure build Mapserver.

Then copy the php4 executable to the cgi-bin dir and you can put the
mapscript.so where you can access it from a process running as "nobody"

You will need to added to the apache httpd.conf file a mime-type for
.phtml to be executed as a cgi-bin using the php4 executable, and
restart apache.

Now existing web processes will run under the existing setup and you can
run you cgi-bin/php4 by using the extension *.phtml

There are more details about this on the wiki server.

Hope this help,
  -Steve

Juanse wrote:
> 
> Then which should be the question to ask to the ISP world if one whats to
> install a mapserver server on some one else server (box)?
> 
> Juanse
> Temuko-Chile
> 
> ----- Original Message -----
> From: Puneet Kishor <pkishor at GeoAnalytics.com>
> To: 'David Bain' <pigeonflight at yahoo.co.uk>
> Cc: MapServer (E-mail) <mapserver-users at lists.gis.umn.edu>
> Sent: Thursday, May 30, 2002 10:27 AM
> Subject: RE: [mapserver-users] Mapserver on a shared server
> 
> > There are no dumb questions (well, there are a few, but this ain't it) ;-)
> >
> >
> >
> > > -----Original Message-----
> > > From: David Bain [mailto:pigeonflight at yahoo.co.uk]
> > > Sent: Wednesday, May 29, 2002 9:51 PM
> > > To: Puneet Kishor
> > > Subject: RE: [mapserver-users] Mapserver on a shared server
> > >
> > >
> > > Maybe it's dumb question (I should probably just go
> > > out and try it) but what about the whole compilation
> > > stuff?
> >
> >
> > yes, the whole compilation stuff is a problem... esp. given all the
> > dependencies. If perchance your dev box were identical to your ISP's, you
> > could compile on your box and then install the binary(s) on the webserver,
> > and cross your pinky that it works. This is the curse of the diversity in
> > Unix world (unless you and your ISP are running MacOS X... say it's so :)
> >
> >
> > try colo... that way you can own your box and do what you want with it,
> and
> > when it is all working, stuff it in your colocator's cage for a couple of
> > hundred a month.
> >
> > good luck.
> >
> > pk/
> >
> >
> >
> >
> > >
> > >  --- Puneet Kishor <pkishor at geoanalytics.com> wrote: >
> > > yes, it is possible to run Mapserver on a shared
> > > > webserver, provided your
> > > > ISP allows you to install your own CGI (mapserv, in
> > > > this case), and, if
> > > > required by your application, other accouterments
> > > > such as
> > > >
> > > Perl/PHP/Python/Tcl/MySQL/Postgres/whateveryourheartdesires.
> > > >
> > > > that, I am assuming, is what you want to know when
> > > > you ask "Is it possible
> > > > to run Mapserver on a shared webserver?"
> > > >
> > > > pk/
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: David Bain [mailto:pigeonflight at yahoo.co.uk]
> > > > > Sent: Wednesday, May 29, 2002 8:10 PM
> > > > > To: mapserver-users at lists.gis.umn.edu
> > > > > Subject: [mapserver-users] Mapserver on a shared
> > > > server
> > > > >
> > > > >
> > > > > Is it possible to run Mapserver on a shared
> > > > webserver?
> > > > > I have shell access, but I wanted to know if
> > > > anyone
> > > > > had successfully done such a thing.
> > > > >
> > > > > =====
> > > > > David Bain
> > > > > Internet and Networking
> > > > > pigeonflight at yahoo.co.uk
> > > > > http://dbain.com
> > > > > T       http://www.jaFinD.com     T
> > > > > T     find Jamaican Properties    T
> > > > > L__    for Sale or for Rent    ___T
> > > > >
> > > > > __________________________________________________
> > > > > Do You Yahoo!?
> > > > > Everything you'll ever need on one web page
> > > > > from News and Sport to Email and Music Charts
> > > > > http://uk.my.yahoo.com
> > > > >
> > >
> > > =====
> > > David Bain
> > > Internet and Networking
> > > pigeonflight at yahoo.co.uk
> > > http://dbain.com
> > > T       http://www.jaFinD.com     T
> > > T     find Jamaican Properties    T
> > > L__    for Sale or for Rent    ___T
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Everything you'll ever need on one web page
> > > from News and Sport to Email and Music Charts
> > > http://uk.my.yahoo.com
> > >
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.365 / Virus Database: 202 - Release Date: 24/05/02



More information about the mapserver-users mailing list