Install/Config Problems
Jeffrey Johnson
ortelius at GMAIL.COM
Fri Apr 8 07:14:37 PDT 2005
Only a generic segmentation fault is returned. Perhaps I could go back
to using PHP as a DSO. Is there some documentation online about how to
get mapscript configured when PHP is configured this way. I have found
some discussion of this on the list archives, but nothing that really
seemed to help.
Thanks,
Jeff
On Apr 8, 2005 4:11 AM, Christian Schroeder <mailings at abiwood99.de> wrote:
> Hello Jeffrey,
>
> I don't know what the problem concerning the php-module is, but once I had a
> problem with the mapserv CGI-Module, too and got the error message 'Premature
> end of script headers'.
>
> You can try to run the mapserv CGI-Module from console to get a more detailed
> error message.
> To do so, you have to call
>
> ./mapserv QUERY_STRING=map=/home/www/map1.map&mode=map
>
> This helped me to get more informations about which module failed.
>
> Regards,
> Christian
>
> Jeffrey Johnson <ortelius at GMAIL.COM>:
>
> > Hello,
> >
> > I am attempting to install and configure
> > mapserver+phpmapscript+chameleon on my debian/linux box and have run
> > into a currently insurmountable issue. apache+php config is fine.
> > Haven't really tested php extensively, but some simple tests work ok.
> > I have configured Mapserver with the following command.
> >
> > ./configure --with-proj --with-ogr --with-gdal --with-jpeg --with-png
> > --with-tiff --with-postgis --with-wfs --with-wcs --with-wms
> > --with-wfsclient --with-wmsclient --with-php=/usr/src/php-4.3.10/
> >
> > then ran make and copied the 'mapserv' executable into the cgi-bin
> > directory. When attempting to access a mapfile using the cgi-script
> > directly
> > http://domainname.com/cgi-bin/mapserv?map=/home/www/map1.map&mode=map
> > I am returned '500 Internal Server error'. The logfile contains
> > 'Premature end of script headers: /usr/local/apache/cgi-bin/mapserv'
> >
> > If I re-run configure and remove the --with-php=/usr/src/php-4.3.10/
> > directive and recompile, the map displays fine.
> >
> > I had originally compiled PHP as a DSO, but couldnt get mapserver to
> > work this way either, so reverted to compiling php into apache
> > directly.
> >
> > Any ideas?
> >
> > Thanks in advance,
> >
> > Jeff
> >
>
More information about the MapServer-users
mailing list