<P>I encountered this same problem when I tried to put PHP into debug mode.
<P>&nbsp;<B><I>Dylan Keon &lt;keon@nacse.org&gt;</I></B> wrote:
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">I recompiled PHP 4.2.3 with --enable-debug, then compiled MS 3.7 against <BR>it, but can't run the MapScript module:<BR><BR>Warning: MapScript: Unable to initialize module Module compiled<BR>with module API=20020429, debug=0, thread-safety=0 PHP compiled<BR>with module API=20020429, debug=1, thread-safety=0 These options<BR>need to match in /www/gis/phpinfo_mapscript.php on line 12<BR><BR>The MapScript module should indicate debug=1 since it was compiled <BR>against PHP where debug was enabled, right? Compiling MapServer itself <BR>with or without --enable-debug makes no difference. I need <BR>--enable-debug compiled into PHP so that I can use gdb to generate a <BR>backtrace, unless someone knows another way to do this. I'm following <BR>the instructions at http://bugs.php.net/bugs-generating-backtrace.php.<BR><BR>Thanks.<BR></BLOCKQUOTE><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yahoo! Mail Plus</a> - Powerful. Affordable. <a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Sign up now</a>