[mapserver-users] Mapscript/PHP not compatible with PHP4 in Debian Woody

Daniel Morissette morissette at dmsolutions.ca
Thu Jun 6 10:25:56 EDT 2002


Paul Baker wrote:
> 
> On Tuesday, June 4, 2002, at 05:44 PM, Daniel Morissette wrote:
> 
> > As mentioned by Antti R. in a previous message, PHP MapScript won't work
> > anyway in PHP compiled as a module because of thread-safety issues, so
> > you are forced to recompile PHP as a CGI anyway.
> 
> using ./configure --with-threads doesn't resolve the thread-safety issue
> allowing it to work with a PHP DSO?
> 


Unfortunately it's not that simple... --with-threads implements the
beginning of a solution covering some of the most important problems,
but there are still known issues to be resolved, like the way relative
paths are handled (using chdir() which is bad), and also the way the PHP
wrappers are implemented (too much heritage from PHP3)... we've started
working on this as a lower priority item.  Then once all know issues are
addresses we'll have to start testing with the PHP module again and see. 

Hopefully this will happen for version 3.7

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
  Don't put for tomorrow what you can do today, because if 
      you enjoy it today you can do it again tomorrow.



More information about the mapserver-users mailing list