[Mapserver-users] mapserver 4.0b - threads error

Aaron Kreider akreider at nd.edu
Sat Jul 26 15:58:33 PDT 2003


I compiled Mapserver 4.0b version 2 on my home pc. For options I 
used: with-threads and with-php.

When I uploaded it to my webserver and tried to run a test 
mapscript page it gave me a thread-safety error message.  If 
thread-safety is implemented in 4.0b, shouldn't it be able to run on 
Apache without running PHP as CGI???

Fatal error: Due to thread-safety problems, php_mapscript cannot 
be used as a 'apache' module. You will have to reconfigure your 
PHP as a CGI to run this version of MapScript. See 
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI. in 
/home/campusac/public_html/map/example1.php on line 11

I'm loading mapscript.so using the dl() function.

-Aaron-



More information about the MapServer-users mailing list