[mapserver-users] PHP (4.2.3) Mapscript as DSO

Daniel Berstein daniel.berstein at dmapas.com
Tue Nov 26 08:52:22 EST 2002


Thanks for your answer Daniel!

We expect to bring online a high traffic site and every posible 
optimization is important for us. We must use PHP as DSO for this, and I 
resist the idea of maintaing two versions of PHP (CGI & DSO).

I have no experience with MapServer source or coding PHP modules, but if I 
can help with something please let me know (I'm a fast learner).


Regards,

Daniel Berstein Z.
Jefe de Proyectos, dmapas.com
Eduardo Hyatt 583, Providencia, Santiago CHILE
*(56) (2) 222 22 60


-----Mensaje original-----
De:	Daniel Morissette [SMTP:morissette at dmsolutions.ca]
Enviado el:	Lunes, 25 de Noviembre de 2002 21:23
Para:	daniel.berstein at dmapas.com
CC:	'mapserver-users at lists.gis.umn.edu'
Asunto:	Re: [mapserver-users] PHP (4.2.3) Mapscript as DSO

Daniel Berstein wrote:
>
> Hi all.
>
> Does anyone knows when will the PHP Mapscript support for DSO be 
available?
>

Hmmm.  If someone should know I guess that would be me!  Unfortunately I
cannot give you a fixed date for it.  This keeps getting pushed down our
priority list since the CGI mode works fine and doesn't prevent anyone
from using MapScript in production environments.

However, here is the status:

- The main issue was the use of chdir() and a fix for this has been
applied to MapServer a few weeks ago (caused changes in several areas of
MapServer).  This new code has been exercised a lot since then.  A few
minor issues have been reported with this that will be addressed in the
next week or so.

- The next step is to rewrite the initialization/cleanup portions of
php_mapscript.c to behave properly in DSO mode, avoid use of globals,
etc.

- Then we should be ready to test again in DSO mode.

The optimistic developer in me thinks that we should see this in a 3.7
release shortly before Christmas, but it all depends on other
priorities, how the 3.7 release process goes, etc.

Daniel
--
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------




More information about the mapserver-users mailing list