<div dir="ltr">you can try changing the following to enable a debug build of the mapscript module.<br><br>in mapscript/php3/php_mapscript.c : <br><br>change <br><br>#define ZEND_DEBUG 0<br><br>to <br><br>#define ZEND_DEBUG 1<br>
<br>ak<br><br><div class="gmail_quote">On Thu, Jul 24, 2008 at 8:57 AM, Robert W. Burgholzer &lt;<a href="mailto:rburghol@vt.edu">rburghol@vt.edu</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am getting the following error after recompiling php and mapserv:<br>
<br>
&nbsp;in Unknown on line 0<br>
Unknown(0) : Warning - PHP Startup: MapScript: Unable to initialize module<br>
Module compiled with module API=20060613, debug=0, thread-safety=1<br>
PHP &nbsp; &nbsp;compiled with module API=20060613, debug=1, thread-safety=1<br>
These options need to match<br>
<br>
I believe that I have enabled the debug option in mapserver, and I am using php<br>
as a CGI, so I am unsure as to what the trouble is. &nbsp;I don&#39;t WANT thread<br>
safety, I believe, but cannot seem to figure out how to disable it. &nbsp;Below are<br>
my compile options for php and mapserver, any help would be great:<br>
<br>
PHP config statement:<br>
./configure &nbsp;--with-gd --with-mysql=/usr/local/mysql --with-pgsql --with-zlib<br>
--with-ttf --prefix=/usr --enable-debug --enable-maintainer-zts<br>
<br>
Mapserver config:<br>
./configure --with-wfs --with-wmsclient --with-php=/Users/robertwb/src/php-5.2.5<br>
--with-postgis=/usr/local/pgsql/bin --with-wfsclient --with-wms --with-postgis<br>
--with-gdal --with-ogr --with-geos --with-proj --enable-debug<br>
<br>
Thanks!<br>
<br>
--<br>
Robert W. Burgholzer<br>
--<br>
Finding the occasional straw of truth awash in a great ocean of confusion and<br>
bamboozle requires intelligence, vigilance, dedication and courage. &nbsp;But if we<br>
don&#39;t practice these tough habits of thought, we cannot hope to solve the truly<br>
serious problems that face us -- and we risk becoming a nation of suckers, up<br>
for grabs by the next charlatan who comes along.<br>
-- Carl Sagan, &quot;The Fine Art of Baloney Detection,&quot; Parade, February 1, 1987<br>
<br>
Web Hydrology Objects - Online Collaborative Modeling:<br>
<a href="http://sourceforge.net/projects/npsource/" target="_blank">http://sourceforge.net/projects/npsource/</a><br>
Home Page:<br>
<a href="http://soulswimmer.dynalias.net/" target="_blank">http://soulswimmer.dynalias.net/</a><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br></div>