<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>RE: [UMN_MAPSERVER-USERS] problem with php mapscript layerobj functions</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Thanks for your reply, Phil. <BR>
<BR>
That is pretty discouraging news! <BR>
<BR>
Did you abandon using MapServer or migrate to a different OS?<BR>
<BR>
Does anyone else have any ideas about this issue?<BR>
<BR>
Thanks,<BR>
Thomas<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Phillip Neal [<A HREF="mailto:pneal@mbl.edu">mailto:pneal@mbl.edu</A>]<BR>
Sent: Thu 8/11/2005 5:31 AM<BR>
To: Naberhaus, Thomas<BR>
Cc: MAPSERVER-USERS@LISTS.UMN.EDU<BR>
Subject: Re: [UMN_MAPSERVER-USERS] problem with php mapscript layerobj functions<BR>
<BR>
Dear All,<BR>
<BR>
I had the same mapscript 'layer' problem on a Fedora 3 installation.<BR>
<BR>
I got a segmentation fault.<BR>
<BR>
I never figured out what was wrong.<BR>
<BR>
<BR>
I tried all different kinds of recompiles and versions. But I couldn't<BR>
shake the error.<BR>
<BR>
Phil<BR>
<BR>
On Aug 10, 2005, at 6:19 PM, Naberhaus, Thomas wrote:<BR>
<BR>
><BR>
> Hello List,<BR>
> <BR>
> I am running mapserver on debian sarge and have just begun to work<BR>
> with it.  The examples seem to work well.<BR>
> However when attempting to use the php mapscript functions getLayer(),<BR>
> getLayerByName(), or ms_newLayerObj($map), the script fails and apache<BR>
> reports a segmentation fault.<BR>
> <BR>
> I installed MapServer on Windows XP and the same script works properly.<BR>
> <BR>
> Does anyone have any ideas what might be wrong or how to get the<BR>
> functions to work on the debian installation?<BR>
> <BR>
> Thanks,<BR>
> Thomas<BR>
> <BR>
> /***********************************<BR>
> Thomas Naberhaus<BR>
> Technology Coordinator<BR>
> Mountain Prairie Node, NBII<BR>
> Big Sky Institute<BR>
> Montana State University<BR>
> 114 AJM Johnson Hall<BR>
> Bozeman, MT  59717<BR>
> voice: (406) 994-5786<BR>
> fax:    (406) 994-5122<BR>
> tnaberhaus@montana.edu<BR>
> ***********************************/<BR>
> <BR>
> <BR>
><BR>
Phillip Neal<BR>
Senior Research Assistant<BR>
Josephine Bay Paul Center for<BR>
Comparative Molecular Biology and Evolution<BR>
Marine Biological Laboratory<BR>
7 MBL Street<BR>
Woods Hole, MA 02540<BR>
pneal@mbl.edu<BR>
Tel: 508-289-7153<BR>
Fax: 508-289-4727<BR>
<BR>
"Simplicity of character is no hindrance to the subtlety of intellect."<BR>
<BR>
   - John Morley<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>