ID: 38017 Updated by: [EMAIL PROTECTED] Reported By: baco at infomaniak dot ch Status: Feedback Bug Type: XML related Operating System: Linux Debian Sarge PHP Version: 5.1.4 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2006-07-05 19:49:10] [EMAIL PROTECTED] --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. ------------------------------------------------------------------------ [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 ... ?!? ------------------------------------------------------------------------ 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