Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-02-2010, 09:30 AM   #1
Registered: Aug 2010
Location: Hants
Distribution: SLES, Ubuntu, Centos
Posts: 41

Rep: Reputation: 0
php install halts - configure: error: libxml2 version 2.6.11 or greater required.

Hi guys, I'm trying to install php5 in SUSE. After unpacking and ./configure the installation halts giving me the error "configure: error: libxml2 version 2.6.11 or greater required."

I have installed both libxml2 and libxml2-dev through yast, but that only has upto version 2.6.7.

Can anyone give me some instructions on how to get the newest version? Thanks
Old 09-02-2010, 09:39 AM   #2
Registered: Aug 2010
Location: Hants
Distribution: SLES, Ubuntu, Centos
Posts: 41

Original Poster
Rep: Reputation: 0
Ahh, just got it going!

For anyone else who has the same problem, get libxml2 2.6.11 from here:
tar -xzf libxml2-2.6.11.tar.gz
cd libxml2-2.6.11
make install
Then re-run your php config and it should work.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] php 5.3 - configure: error: wrong mysql library version or lib not found. kingkashif Linux - Software 3 09-20-2011 04:52 AM
Issues with libxml2 (cant install php due to this) Virtuality Linux - Newbie 2 06-05-2007 05:11 PM
PHP libxml2 error viperkt400 Linux - Software 1 03-02-2005 03:06 PM
php configuration erro libxml2 version 2.5.10 or higher required raninix Linux - Newbie 2 10-28-2004 11:59 AM
configure php install error obj63 Linux - Software 2 08-18-2004 10:19 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration