ID: 38017 Updated by: [EMAIL PROTECTED] Reported By: baco at infomaniak dot ch -Status: Open +Status: Feedback Bug Type: XML related Operating System: Linux Debian Sarge PHP Version: 5.1.4 New Comment:
--with-libexpat-dir option has been deprecated years ago and there is no sense in using it if you have libxml in your system. Also, it works just fine here. Previous Comments: ------------------------------------------------------------------------ [2006-07-05 19:28:16] baco at infomaniak dot ch So the answer is mixing together option "enable-xml" with "with-libexpat-dir" crash PHP when calling xml_parser_create(). I hope you can identify the compilation bug now ?? ./configure \ --prefix=${PREFIX} \ --mandir=/usr/share/man \ --with-apxs=/opt/apache/bin/apxs \ --enable-debug \ --disable-all \ --enable-xml \ --enable-libxml \ \ --with-libexpat-dir $ dpkg -l | grep expat ii libexpat1 1.95.8-3 XML parsing C library - runtime library $ dpkg -l | grep expat ii libexpat1 1.95.8-3 XML parsing C library - runtime library ii libexpat1-dev 1.95.8-3 XML parsing C library - development kit ------------------------------------------------------------------------ [2006-07-05 19:02:19] baco at infomaniak dot ch This can also reproduce the bug so now I will remove one by one... until the rabbit ;-) './configure' '--prefix=/opt/php' '--mandir=/usr/share/man' '--with-apxs=/opt/apache/bin/apxs' '--enable-debug' '--disable-all' '--enable-libxml' '--with-libxml-dir' '--enable-dom' '--with-xpm-dir' '--enable-simplexml' '--enable-xml' '--with-libexpat-dir' '--with-xmlrpc' N.B. We are using Apache 1.3.36 ------------------------------------------------------------------------ [2006-07-05 18:54:14] [EMAIL PROTECTED] Yeah, that's what I thought - please try to add configure options one by one and see which one causes the problem. Hint: I suspect it could be --with-curl or --with-openssl. ------------------------------------------------------------------------ [2006-07-05 18:48:16] baco at infomaniak dot ch Unable to reproduce the issue with './configure' '--prefix=/opt/php' '--mandir=/usr/share/man' '--with-apxs=/opt/apache/bin/apxs' '--enable-debug' So a special configure option do this ... ?!? ------------------------------------------------------------------------ [2006-07-05 18:35:11] [EMAIL PROTECTED] Uhm.. Now THAT doesn't make any sense to me. What Apache version is that? And which MPM are you using if it's Apache 2? Also, please try to remove all those configure options which are not required to execute this piece of code. I guess just "./configure --with-apxs= ... --enable-debug" should be enough. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/38017 -- Edit this bug report at http://bugs.php.net/?id=38017&edit=1