[Mapserver-users] --with-php, Mapserver 4.0.1, and Fedora

Mark Cave-Ayland m.cave-ayland at webbased.co.uk
Thu Apr 8 09:46:35 EDT 2004


> -----Original Message-----
> From: mapserver-users-admin at lists.gis.umn.edu 
> [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of 
> Daniel Morissette
> Sent: 08 April 2004 03:59
> To: Lindsay C. Blanton
> Cc: mapserver-users at lists.gis.umn.edu
> Subject: Re: [Mapserver-users] --with-php, Mapserver 4.0.1, and Fedora
> 
> 
> Lindsay C. Blanton wrote:
> > 
> > Is there anything in the overall architecture preventing 
> you guys from 
> > developing this to run in the standard PHP/Apache 
> configurations that 
> > so many people run (as a module)?
> > 
> 
> Yes and no.

(lots cut)

> 
> The main issues are that PHP comes with its own bundled copy of regex 
> and GD which are also used by MapServer, and unless you build the 
> MapServer core with the exact same versions of GD and regex 
> then you end 
> up with symbol conflicts at runtime and odd behavior/crashes.  If you 
> build PHP from source then you can get it to use the system 
> GD, but you 
> _cannot_ force PHP to use the system regex when you build it as an 
> Apache module... this is a major issue for us.  Plus if you 
> got the php 
> and php-devel RPM then chances are that they use PHP's bundled GD and 
> then you have two problems.
> 
> I'm still pulling my hair trying to find a nice way to solve that 
> problem... that's one of the main issues that I would like to resolve 
> before the 4.2 release.
> 
> Note that I don't expect the 4.2 release version to be extremely 
> tested/stable under the PHP module configuration... this mode should 
> still be considered experimental for the 4.2 release, and 
> will hopefully 
> become more stable in a later release closer to the summer.
> 
> Daniel


Hi Daniel,

A while back I was testing mapscript with mod_perl and the biggest
problem I had was that the lexer was not thread-safe which caused the
script to die when quickly refreshing a page (see
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=339 for more
information). Has this issue been solved by the 4.0.2 release?


Many thanks,

Mark.

---

Mark Cave-Ayland
Webbased Ltd.
Tamar Science Park
Derriford
Plymouth
PL6 8BX
England

Tel: +44 (0)1752 764445
Fax: +44 (0)1752 764446


This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender. You
should not copy it or use it for any purpose nor disclose or distribute
its contents to any other person.





More information about the mapserver-users mailing list