[mapserver-users] Error compile

Jeff McKenna mckenna at dmsolutions.ca
Tue Sep 25 12:54:38 EDT 2001


Diego J. Padrón P. wrote:
> 

> I try to compile php/mapscrip in Windows 2000, installing FoxServ +
> php4.0.6_php_mapscript_35.zip + gmap-ms35-20010726.zip and the following
> error is generated:
> 
> Fatal error: dl() is not supported in multithreaded Web servers - use
> extension statements in your php.ini in
> c:\foxserv\www\gmap\htdocs\gmap75.phtml on line 30
> 

I believe your problem is that your PHP is configured as an Apache
module instead of as
a CGI.  Open the file httpd.conf in the conf directory of Apache and
make sure the line
below is commented:

LoadModule php4_module pathto/FoxServ/php/sapi/php4apache.dll

There is a note on this in the PHP/Mapscript-install howto:

http://mapserver.gis.umn.edu/doc/phpmapscript-install-howto.html#example


Hope this helps.

Jeff



-- 

Jeff McKenna
GIS Specialist
DM Solutions Group Inc.
Ottawa, Ontario
http://www.dmsolutions.ca/



More information about the mapserver-users mailing list