Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 97406

Summary: libxml2-2.6.19 and mod_php-5.0.4/5.1beta conflict
Product: Gentoo Linux Reporter: Alessandro Rossini <me>
Component: [OLD] LibraryAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alessandro Rossini 2005-06-29 10:18:34 UTC
I've apache-2.0.54-r11 and mod_php-5.0.4. Once I've updated libxml2 from 
version 2.6.17 to 2.1.19 the XML support on mod_php stopped working. Apache 
logs report a segmentation fault every time I try to load a PHP5 script that 
have some kind of DOM XML handling. Reinstalling the 2.6.17 version of the 
library all works correctly. The same happens with mod_php-5.1beta. 

Reproducible: Always
Steps to Reproduce:
1. Install apache-2.0.54-r11 and mod_php-5.0.4 using libxml2-2.6.19 
2. Start Apache2 and try to load a PHP5 script with DOM XML instructions 
3. See Apache logs 
      
Actual Results:  
Apache reports segmentation faults. 

Expected Results:  
All works correctly has happens with libxml2-2.6.17.
Comment 1 Paul Laughlin 2005-07-03 22:59:51 UTC
Working here with:
[ebuild   R   ] dev-php/mod_php-5.0.4
[ebuild   R   ] dev-libs/libxml2-2.6.19
[ebuild   R   ] net-www/apache-2.0.54-r11




Comment 2 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-12 01:44:22 UTC
This is supposed to be fixed in libxml2-2.6.20, which is not yet in portage.
Comment 3 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-13 10:13:50 UTC
Please test with libxml2-2.6.20, which is now in portage.

PHP 5.1.0 Beta 3 built against libxml2-2.6.20 worked fine for me.
Comment 4 Alessandro Rossini 2005-07-14 03:33:42 UTC
The latest version of both packages works fine also for me.
I hope libxml2-2.6.20 to become marked stable soon.

Thanks.
Comment 5 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-14 03:42:06 UTC
Solved by libxml2-2.6.20.