ID:               38017
 User updated by:  baco at infomaniak dot ch
 Reported By:      baco at infomaniak dot ch
-Status:           Feedback
+Status:           Open
 Bug Type:         XML related
 Operating System: Linux Debian Sarge
 PHP Version:      5.1.4
 New Comment:

Same issue with 
5e8837ebfe06a3d9b121e763ee34a969 php5.2-latest.tar.gz (200607051830)

So to help you to analyse the problem with 
--enable-xml --enable-libxml --with-libexpat-dir

I have pushed files to

http://imu77.infomaniak.ch/baco/

php5.2-200607051830-output.log -- the output of my compilation script
php5.2-200607051830.tar.gz -- the php source with compiled objects on
Debian Sarge and all Makefile generated by configure.

I cannot do more. Our issue is resolved by removing with-libexpat-dir
but the bug still present if libexpat used on our server.


Previous Comments:
------------------------------------------------------------------------

[2006-07-05 19:49:23] [EMAIL PROTECTED]

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



------------------------------------------------------------------------

[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.

------------------------------------------------------------------------

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

Reply via email to