php_mapscript as dso and mapserv

Steven Monai stevem at SPATIALMAPPING.COM
Fri Feb 25 11:14:54 EST 2005


Paul:

I'm only somewhat "in the know", since I'm only a user and not a developer
of MapServer, but I have run into a problem similar to the one you
describe. I have found that building the php_mapscript module is somehow
incompatible with building the FastCGI mapserv executable. If I configure
both --with-php and --with-fastcgi at the same time, the mapserv FastCGI
consistently segfaults. So I set up my MapServer build-script to build them
separately in two passes.

In summary, I feel your pain, but a serviceable workaround seems to be to
configure and build the various parts (i.e. php_mapscript, CGI executable,
FastCGI executable) separately.

Regards,
-SM
--


On Thu, 24 Feb 2005 09:45:30 -0600, Paul Smith <paul.oduro at SPPS.ORG> wrote:

>Hello all,
>
>Can someone in the know please put this to rest??
>
>Is it the recommendation that php_mapscript be "configured" separately from
>mapserver?
>
>Other posters on this list have used that work-around: run configure
>--with-php to build php_mapscript and then run configure --without-php to
>get a working mapserv cgi.
>
>I myself run into this using
>
>mapserver 4.4.1
>php 4.3.10
>suse linux ent server 9
>
>Paul



More information about the mapserver-users mailing list