#45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
From: mark at mcclusky dot com Date: Wed, 31 Dec 2008 00:56:59 +0000 Subject: #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse() References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-132434@lists.php.net to get a copy of this message
ID: 45996
Comment by: mark at mcclusky dot com
Reported By: phpbugs at colin dot guthr dot ie
Status: Assigned
Bug Type: XML related
Operating System: Mandriva Linux
PHP Version: 5.2.6
Assigned To: rrichards
New Comment:
I understand that there are workarounds to this bug, but for those of
us on shared hosts that we can't recompile, this is a colossally
frustrating state of affairs.
Does anyone in PHP land have any timeline for a fix?
Previous Comments:
------------------------------------------------------------------------
[2008-12-29 17:02:44] jeffrey dot roberts at ibsgroup dot org
For those as challenged as me at determining how to either downgrade
libxml2 or recompile with libexpat while using cPANEL (easyapache), here
is a link to the details. I confirm that after recompiling it is a
workaround for the problem.
http://blog.code-head.com/fixing-libxml-php-bug-and-issues-with-html-entities-libexpat
First you will need to find out where libexpat is located on your
server, it¡¯s probably here:
/usr/lib
To find out for sure, open this folder (/usr/lib) and look for the
file:
libexpat.so
If you can¡¯t find it, log in as root via SSH and enter:
whereis libexpat.so
This should list the folder in which libexpat is located.
After all this you will need to compile PHP to use libexpat instead of
libxml, so go to:
/var/cpanel/easy/apache/rawopts/
And create a file and name it ¡°all_php5¡å (no quotes), if there is a
file with this name edit it and add these lines to the end of it:
¨Cwith-expat=builtin
¨Cwith-libexpat-dir=/usr/lib
(lines start with two dashes ¡°-¡± that are not showing up here for
some reason)
Remember that depending on where libexpat is located on your server you
might need to edit the second line.
Now compile Apache and everything should work fine!
------------------------------------------------------------------------
[2008-12-28 13:37:13] phpbugs at colin dot guthr dot ie
While I do not doubt that this is an annoying bug, there are very
simple and clear workarounds. I'm really not seeing why everyone is so
upset about this. I reported the bug and we fixed the Mandriva package
almost immediately with the work around and I'm not aware of any fallout
from that change.
------------------------------------------------------------------------
[2008-12-28 03:55:04] alex at magnet dot ru
4 month!!! This is not serious?!
------------------------------------------------------------------------
[2008-12-25 02:41:10] gordon at kanazawa-gu dot ac dot jp
This issue also affects Moodle backup+restore and HotPot module
http://tracker.moodle.org/browse/MDL-17136
------------------------------------------------------------------------
[2008-12-17 15:18:50] valli at icsurselva dot ch
Where can I find the libxml2 patch?
Does someone have a link to the libxml2 bug reporting tool
which describes this issue?
------------------------------------------------------------------------
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/45996
--
Edit this bug report at http://bugs.php.net/?id=45996&edit=1
Thread (54 messages)
- #45996 [Opn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Opn->Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn->Csd]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- Bug #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- Bug #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- Bug #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- Bug #45996 [Csd]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- Bug #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- Bug #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- Bug #45996 [Csd]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- Bug #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
| « previous | php.bugs (#132434) | next » |
|---|