[mapserver-users] enable-debug in mapscript? getting a "cannot load module" error

Alan Boudreault aboudreault at mapgears.com
Tue May 4 08:31:24 EDT 2010


Hi,

I think you'll have to open 'mapscript/php3/php_mapscript.c' and look for 
ZEND_DEBUG 0 somewhere... and replace it by ZEND_DEBUG 1.

Alan

On April 29, 2010 10:38:23 am Burgholzer, Robert (DEQ) wrote:
> This error message does not seem to agree.  Is there a specific
> directive to enable debugging in mapscript that I missed?
> 
> ERROR:
> PHP Warning:  PHP Startup: MapScript: Unable to initialize module
> Module compiled with module API=20060613, debug=0, thread-safety=1
> PHP    compiled with module API=20060613, debug=1, thread-safety=1
> These options need to match
> 
> CONFIGURE:
> ./configure --with-wfs --with-wmsclient
> --with-php=/home/rob/src/php-5.2.11 --with-postgis --with-wfsclient
> --with-wms --with-postgis --with-gdal --with-ogr --with-geos --with-proj
> --enable-debug
> 
> Thanks,
> r.b.
> 
> Robert W. Burgholzer
> Surface Water Modeler
> Office of Water Supply and Planning
> Virginia Department of Environmental Quality
> rwburgholzer at deq.virginia.gov
> 804-698-4405
> Open Source Modeling Tools:
> http://sourceforge.net/projects/npsource/
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 

-- 
Alan Boudreault
Mapgears
http://www.mapgears.com


More information about the mapserver-users mailing list