you can try changing the following to enable a debug build of the mapscript module.
in mapscript/php3/php_mapscript.c : change #define ZEND_DEBUG 0 to #define ZEND_DEBUG 1 ak On Thu, Jul 24, 2008 at 8:57 AM, Robert W. Burgholzer <[EMAIL PROTECTED]> wrote: > I am getting the following error after recompiling php and mapserv: > > in Unknown on line 0 > Unknown(0) : 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 > > I believe that I have enabled the debug option in mapserver, and I am using > php > as a CGI, so I am unsure as to what the trouble is. I don't WANT thread > safety, I believe, but cannot seem to figure out how to disable it. Below > are > my compile options for php and mapserver, any help would be great: > > PHP config statement: > ./configure --with-gd --with-mysql=/usr/local/mysql --with-pgsql > --with-zlib > --with-ttf --prefix=/usr --enable-debug --enable-maintainer-zts > > Mapserver config: > ./configure --with-wfs --with-wmsclient > --with-php=/Users/robertwb/src/php-5.2.5 > --with-postgis=/usr/local/pgsql/bin --with-wfsclient --with-wms > --with-postgis > --with-gdal --with-ogr --with-geos --with-proj --enable-debug > > Thanks! > > -- > Robert W. Burgholzer > -- > Finding the occasional straw of truth awash in a great ocean of confusion > and > bamboozle requires intelligence, vigilance, dedication and courage. But if > we > don't practice these tough habits of thought, we cannot hope to solve the > truly > serious problems that face us -- and we risk becoming a nation of suckers, > up > for grabs by the next charlatan who comes along. > -- Carl Sagan, "The Fine Art of Baloney Detection," Parade, February 1, > 1987 > > Web Hydrology Objects - Online Collaborative Modeling: > http://sourceforge.net/projects/npsource/ > Home Page: > http://soulswimmer.dynalias.net/ > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users >
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users