[mapserver-users] Problem with drawing of labelled layers in php mapscript 35
Daniel Morissette
morissette at dmsolutions.ca
Fri Jul 12 06:57:13 PDT 2002
Dylan,
After adding the street names layer to your app, a 'view source' shows
that the HTML output ends up being truncated, this usually indicates a
crash (seg. fault) of the PHP server. There were some problems with
running MapScript with PHP as an Apache module since 3.5, so I would
recommend that you at least reinstall PHP 4.0.6 as a CGI instead of as
an Apache module, or even better: upgrade to the latest MapServer 3.6
with PHP 4.2.1 installed as a CGI, and I wouldn't be surprised to see
the problem go away with this new configuration.
Daniel
dylan at brc21.co.za wrote:
>
> Hi,
>
> I have just moved my system from a windows server to an apache
> server. Everything worked fine on the windows server. One problem
> I can't get around on the new server is the labelling. When I select
> a labelled layer the page refreshes but only returns part of the page
> - no legend, scale bar, maps etc - and usually some html code.
> to look at this is action go to
> http://mapserv.host24.com/cpf/CPF.php and select the Street
> Names layer (an annotation layer) and the click Redraw Map. This
> labels are Auto Angled - is this an issue?
>
> I think it has something to do with the way the GD library was
> compiled but I'm not sure. To look at the phpinfo for the server run
> http://www.visit27.com/cpf/phpinfo.php
>
> Thanks in advance
> Dylan Rawlins
More information about the MapServer-users
mailing list