[mapserver-users] multiple mapserv executables

Daniel Morissette morissette at dmsolutions.ca
Mon Oct 21 14:30:28 PDT 2002


Alexander Pucher wrote:
> 
> how do i run multiple mapserver executables on one machine?
> 
> e.g.:
> 
> /cgi-bin/mapserv_34
> /cgi-bin/mapserv_362
> 
> OK, I could do it via the URL
> http://anyserver.com/cgi-bin/mapserv**?................ and address the
> relevant executable,
> 
> but how can I do it with PHPMapscript?



We do it by having multiple instances of php_mapscript.so in the PHP
extension_dir called:

  php_mapscript_34.so
  php_mapscript_362.so

And then your application code loads the copy of mapscript that it wants
to use, e.g.
  dl("php_mapscript_34.so");

Daniel
-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the MapServer-users mailing list