[horde] I need help - Error: XML Parser support: No - The libxml version is too old. libxml 2.7 or later is required.

San sancmk at gmail.com
Mon Dec 19 11:07:40 UTC 2011


Hi Luis,

Is it the only way? I can't upgrade the CentOS now, because it is in
production.

Are anybody using CentOS 5 (CentOS 5.6) with Horde 4?



 When I open the browser and access: http://<url/test.php, I got the error
 bellow:
 -------------------------------------------------------------------------------------------------
 XML Parser support: No
 The libxml version is too old. libxml 2.7 or later is required.
 -------------------------------------------------------------------------------------------------


2011/12/18 <horde-request at lists.horde.org>

> Send horde mailing list submissions to
>        horde at lists.horde.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.horde.org/mailman/listinfo/horde
> or, via email, send a message with subject or body 'help' to
>        horde-request at lists.horde.org
>
> You can reach the person managing the list at
>        horde-owner at lists.horde.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of horde digest..."
>
>
> Today's Topics:
>
>   1. Re: I need help - Error: XML Parser support: No - The libxml
>      version is too old. libxml 2.7 or later is required.
>      (Luis Felipe Marzagao)
>   2. Installing 2 copies of Horde4 (Andrew Morgan)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 17 Dec 2011 10:32:47 -0200
> From: Luis Felipe Marzagao <lfbm.andamentos at gmail.com>
> To: horde at lists.horde.org
> Subject: Re: [horde] I need help - Error: XML Parser support: No - The
>        libxml version is too old. libxml 2.7 or later is required.
> Message-ID: <4EEC8BEF.6030806 at gmail.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Em 16/12/11 18:58, San escreveu:
> > Hello,
> >
> >   I need help because I installed Horde 4 on CentOS 5.6 x86_64 and when I
> > test the Horde with PHP I get the following error:
> >
> >
> > When I open the browser and access: http://<url>/test.php, I got the
> error
> > bellow:
> >
> -------------------------------------------------------------------------------------------------
> > XML Parser support: No
> > The libxml version is too old. libxml 2.7 or later is required.
> >
> -------------------------------------------------------------------------------------------------
> Upgrade to CentOS 6.
> > And... I can't read HTML messages sent to me... because Horde only show
> the
> > messages is in plain/text...
> >
> > And all the messages with charset UTF-8 sent to me has the problem with
> > accent (?, ?, ?, ?, ?, ?, ?, ?) and cedilla (?) in another server that I
> > tested... the messages whith charset ISO-8859-1 I don't have the
> problem...
> >
> >
> > More info:
> >
> > When I access: http://<url>/test.php?mode=phpinfo, I got:
> >
> -------------------------------------------------------------------------------------------------
> > dom
> > libxml Version 2.6.26
> >
> >
> > libxml
> >
> > libXML support active
> > libXML Compiled Version 2.6.26
> > libXML Loaded Version 20703
> > libXML streams enabled
> >
> -------------------------------------------------------------------------------------------------
> >
> > Over here ok, I understand that PHP think's that the CentOS 5.6 x86_64
> has
> > libxml 2.6.26, but I compiled and installed libxml 2.7.8 using: Install
> > libxml2 2.7.X on CentOS 5.X (
> >
> http://serverfault.com/questions/266927/install-libxml2-2-7-x-on-centos-5-x
> )
> >
> > [root at localhost www]# rpm -qa | grep libxml
> >   libxml2-devel-2.7.8-1
> >   libxml2-python-2.7.8-1
> >   libxml2-2.7.8-1<---- Look here
> >
> > [root at localhost www]# ldconfig -p | grep libxml
> > libxml2.so.2 (libc6,x86-64) =>  /usr/local/lib/libxml2.so.2
> > libxml2.so.2 (libc6,x86-64) =>  /usr/lib64/libxml2.so.2
> > libxml2.so (libc6,x86-64) =>  /usr/local/lib/libxml2.so
> >
> >
> > [root at localhost www]# ls -l /usr/local/lib/libxml2.so.2
> > /usr/lib64/libxml2.so.2 /usr/local/lib/libxml2.so
> >   lrwxrwxrwx 1 root root 16 Dec 16 18:14 /usr/lib64/libxml2.so.2 ->
> > libxml2.so.2.7.8<---- Look here
> >   lrwxrwxrwx 1 root root 16 Dec  6 17:21 /usr/local/lib/libxml2.so ->
> > libxml2.so.2.7.3<---- Look here
> >   lrwxrwxrwx 1 root root 16 Dec  6 17:21 /usr/local/lib/libxml2.so.2 ->
> > libxml2.so.2.7.3<---- Look here
> >
> >
> > [root at localhost www]# lsof | grep libxml
> > httpd     10409      root  mem       REG              253,0  4112534
> >   76639 /usr/local/lib/libxml2.so.2.7.3<---- Look here
> > httpd     10410    apache  mem       REG              253,0  4112534
> >   76639 /usr/local/lib/libxml2.so.2.7.3<---- Look here
> > httpd     10411    apache  mem       REG              253,0  4112534
> >   76639 /usr/local/lib/libxml2.so.2.7.3<---- Look here
> > httpd     10412    apache  mem       REG              253,0  4112534
> >   76639 /usr/local/lib/libxml2.so.2.7.3<---- Look here
> > httpd     10413    apache  mem       REG              253,0  4112534
> >   76639 /usr/local/lib/libxml2.so.2.7.3<---- Look here
> > httpd     10415    apache  mem       REG              253,0  4112534
> >   76639 /usr/local/lib/libxml2.so.2.7.3<---- Look here
> > httpd     10416    apache  mem       REG              253,0  4112534
> >   76639 /usr/local/lib/libxml2.so.2.7.3<---- Look here
> > httpd     10417    apache  mem       REG              253,0  4112534
> >   76639 /usr/local/lib/libxml2.so.2.7.3<---- Look here
> > httpd     10418    apache  mem       REG              253,0  4112534
> >   76639 /usr/local/lib/libxml2.so.2.7.3<---- Look here
> >
> >
> > [root at localhost www]# ldd /etc/httpd/modules/libphp5.so
> > linux-vdso.so.1 =>   (0x00007fff1a990000)
> > libcrypt.so.1 =>  /lib64/libcrypt.so.1 (0x00002b6d6c0e4000)
> > libgmp.so.3 =>  /usr/lib64/libgmp.so.3 (0x00002b6d6c31c000)
> > libbz2.so.1 =>  /usr/lib64/libbz2.so.1 (0x00002b6d6c556000)
> > libz.so.1 =>  /usr/lib64/libz.so.1 (0x00002b6d6c766000)
> > librt.so.1 =>  /lib64/librt.so.1 (0x00002b6d6c97a000)
> > libm.so.6 =>  /lib64/libm.so.6 (0x00002b6d6cb84000)
> > libdl.so.2 =>  /lib64/libdl.so.2 (0x00002b6d6ce07000)
> > libnsl.so.1 =>  /lib64/libnsl.so.1 (0x00002b6d6d00b000)
> > libxml2.so.2 =>  /usr/local/lib/libxml2.so.2 (0x00002b6d6d224000)
> >   <---- Look here
> > libgssapi_krb5.so.2 =>  /usr/lib64/libgssapi_krb5.so.2
> (0x00002b6d6d563000)
> > libkrb5.so.3 =>  /usr/lib64/libkrb5.so.3 (0x00002b6d6d791000)
> > libk5crypto.so.3 =>  /usr/lib64/libk5crypto.so.3 (0x00002b6d6da27000)
> > libcom_err.so.2 =>  /lib64/libcom_err.so.2 (0x00002b6d6dc4c000)
> > libssl.so.6 =>  /lib64/libssl.so.6 (0x00002b6d6de4e000)
> > libcrypto.so.6 =>  /lib64/libcrypto.so.6 (0x00002b6d6e09b000)
> > libc.so.6 =>  /lib64/libc.so.6 (0x00002b6d6e3ec000)
> > libpthread.so.0 =>  /lib64/libpthread.so.0 (0x00002b6d6e744000)
> > /lib64/ld-linux-x86-64.so.2 (0x00002b6d6b8fe000)
> > libkrb5support.so.0 =>  /usr/lib64/libkrb5support.so.0
> (0x00002b6d6e960000)
> > libkeyutils.so.1 =>  /lib64/libkeyutils.so.1 (0x00002b6d6eb68000)
> > libresolv.so.2 =>  /lib64/libresolv.so.2 (0x00002b6d6ed6a000)
> > libselinux.so.1 =>  /lib64/libselinux.so.1 (0x00002b6d6ef80000)
> > libsepol.so.1 =>  /lib64/libsepol.so.1 (0x00002b6d6f198000)
> >
> >
> >
> >
> > I'm using the following PHP packages:
> >
> > [root at localhost www]# rpm -qa | grep php
> >   php-tidy-5.3.8-1.w5
> >   php-mbstring-5.3.8-1.w5
> >   php-cli-5.3.8-1.w5
> >   php-5.3.8-1.w5
> >   php-pdo-5.3.8-1.w5
> >   php-mysql-5.3.8-1.w5
> >   php-common-5.3.8-1.w5
> >   php-gd-5.3.8-1.w5
> >   php-pear-1.9.4-1.w5
> >   php-xml-5.3.8-1.w5<------- May be is this the problem? I don't
> > know...
> >   php-ldap-5.3.8-1.w5
> >   php-devel-5.3.8-1.w5
> >   php-mcrypt-5.3.8-1.w5
> >
> >
> >
> >
> >
> > All that use XML are using the 2.7.8 libxml2 library, so why the PHP info
> > show libxml 2.6???
> >
> > [root at localhost www]# rpm -q --filesbypkg php-xml-5.3.8-1.w5
> > php-xml                   /etc/php.d/dom.ini
> > php-xml                   /etc/php.d/wddx.ini
> > php-xml                   /etc/php.d/xmlreader.ini
> > php-xml                   /etc/php.d/xmlwriter.ini
> > php-xml                   /etc/php.d/xsl.ini
> > php-xml                   /usr/lib64/php/modules/dom.so<----
> > Look here
> > php-xml                   /usr/lib64/php/modules/wddx.so
> > php-xml                   /usr/lib64/php/modules/xmlreader.so
> >   <---- Look here
> > php-xml                   /usr/lib64/php/modules/xmlwriter.so
> >   <---- Look here
> > php-xml                   /usr/lib64/php/modules/xsl.so
> >
> >
> > [root at localhost www]# ldd /usr/lib64/php/modules/xmlreader.so
> > linux-vdso.so.1 =>   (0x00007fffbb6e7000)
> > libxml2.so.2 =>  /usr/local/lib/libxml2.so.2 (0x00002b2937a9c000)
> >   <---- Look here
> > libz.so.1 =>  /usr/lib64/libz.so.1 (0x00002b2937ddb000)
> > libm.so.6 =>  /lib64/libm.so.6 (0x00002b2937ff0000)
> > libc.so.6 =>  /lib64/libc.so.6 (0x00002b2938273000)
> > libdl.so.2 =>  /lib64/libdl.so.2 (0x00002b29385cb000)
> > /lib64/ld-linux-x86-64.so.2 (0x00002b293766c000)
> >
> > [root at localhost www]# ldd /usr/lib64/php/modules/xmlwriter.so
> > linux-vdso.so.1 =>   (0x00007fff20777000)
> > libxml2.so.2 =>  /usr/local/lib/libxml2.so.2 (0x00002ba6a6105000)
> >   <---- Look here
> > libz.so.1 =>  /usr/lib64/libz.so.1 (0x00002ba6a6444000)
> > libm.so.6 =>  /lib64/libm.so.6 (0x00002ba6a6659000)
> > libc.so.6 =>  /lib64/libc.so.6 (0x00002ba6a68dc000)
> > libdl.so.2 =>  /lib64/libdl.so.2 (0x00002ba6a6c34000)
> > /lib64/ld-linux-x86-64.so.2 (0x00002ba6a5cd1000)
> >
> > [root at localhost www]# ldd /usr/lib64/php/modules/dom.so
> > linux-vdso.so.1 =>   (0x00007fff937fc000)
> > libxml2.so.2 =>  /usr/local/lib/libxml2.so.2 (0x00002ac93fb7a000)
> >   <---- Look here
> > libz.so.1 =>  /usr/lib64/libz.so.1 (0x00002ac93feb9000)
> > libm.so.6 =>  /lib64/libm.so.6 (0x00002ac9400ce000)
> > libc.so.6 =>  /lib64/libc.so.6 (0x00002ac940351000)
> > libdl.so.2 =>  /lib64/libdl.so.2 (0x00002ac9406a9000)
> > /lib64/ld-linux-x86-64.so.2 (0x00002ac93f728000)
> >
> >
> > What can I do?
> >
> > Regard's,
> >
> >
> > Alessandro.
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 17 Dec 2011 11:14:36 -0800 (PST)
> From: Andrew Morgan <morgan at orst.edu>
> To: horde at lists.horde.org
> Subject: [horde] Installing 2 copies of Horde4
> Message-ID:
>        <alpine.DEB.2.00.1112171109300.22350 at shell.onid.oregonstate.edu>
> Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
>
> I know I'm running late to the Horde4 party, but my time has been soaked
> up with other projects.  Now, I'm finally getting around to upgrading from
> Horde3 to Horde4.
>
> I have 2 installs of Horde3 (plus IMP, Turba, Kronolith, Mnemo, and Nag)
> on my servers - one in /var/www/horde/ and one in /var/www-test/horde/.  I
> normally test any upgrades and changes in www-test before rolling them
> over to www.
>
> Is there a recommended way to do 2 installs of Horde4?  The INSTALL docs
> offer a hint in section 3.2 - Installing into separate PEAR.  Is that the
> way to go about this?
>
> Thanks,
>        Andy
>
>
> ------------------------------
>
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>
> End of horde Digest, Vol 3182, Issue 1
> **************************************
>


More information about the horde mailing list