LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-02-2010, 08:30 AM   #1
nonshatter
Member
 
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, 08:39 AM   #2
nonshatter
Member
 
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:
Then:
Quote:
tar -xzf libxml2-2.6.11.tar.gz
cd libxml2-2.6.11
./configure
make
make install
Then re-run your php config and it should work.
 
  


Reply


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 03:52 AM
Issues with libxml2 (cant install php due to this) Virtuality Linux - Newbie 2 06-05-2007 04:11 PM
PHP libxml2 error viperkt400 Linux - Software 1 03-02-2005 02:06 PM
php configuration erro libxml2 version 2.5.10 or higher required raninix Linux - Newbie 2 10-28-2004 10:59 AM
configure php install error obj63 Linux - Software 2 08-18-2004 09:19 PM


All times are GMT -5. The time now is 11:06 PM.

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