Visit Jeremy's Blog.
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 04-09-2009, 02:20 PM   #16
LQ Newbie
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0

Thanks !
"sudo apt-get install libxml2-dev" solved the PHP configuration error for Knoppix 6.0.1
Old 04-22-2009, 08:06 PM   #17
LQ Newbie
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0

I had the same problem with Fedora 10 - 64 bits.
What I did.

yum search libxml2-devel

Loaded plugins: refresh-packagekit
=================================================== Matched: libxml2-devel ===================================================
libxml2-devel.i386 : Libraries, includes, etc. to develop XML and HTML applications
libxml2-devel.x86_64 : Libraries, includes, etc. to develop XML and HTML applications

yum install libxml2-devel.x86_64

It works!

Old 06-16-2009, 02:41 PM   #18
LQ Newbie
Registered: Feb 2007
Posts: 3

Rep: Reputation: 0
PHP 5 cannot find xml2-config for libxml2 support :: Ubuntu

sudo apt-get install libxml2-dev
Worked great.

Old 09-19-2009, 11:41 AM   #19
LQ Newbie
Registered: Sep 2009
Posts: 6

Rep: Reputation: 2
See the URL given below. Hope this helps.
Old 10-02-2009, 09:50 AM   #20
Registered: Dec 2008
Location: Bellevue,WA
Distribution: RHEL 5 , Fedora ,Sabayon,Solaris,Vmware,AWS
Posts: 107

Rep: Reputation: 18
I ran into problem of xml2-config missing when i was compiling brutelock from source and i installed xml2-devel and it really helped and it worked, thanks breezewax
Old 03-05-2011, 01:59 PM   #21
LQ Newbie
Registered: Mar 2011
Posts: 3

Rep: Reputation: 0
Originally Posted by loren77 View Post
Try to install libxml2 developement packages.
With Debian:
apt-get install libxml2-dev
i ran into the same problem with php 5.3 sources. i tried downloading the libxml2 sources and building them but it fails on nanohttp...

the recommendation to apt-get install libxml2-dev worked the best on ubuntu
Old 02-08-2013, 09:00 PM   #22
Registered: Dec 2012
Posts: 35

Rep: Reputation: Disabled
Originally Posted by samy22 View Post
A simpler solution is to install a libxml2-devel rpm package.
Thank you,it solved my problem,but now it comes out that cannot find mysql header


php, php5, phpize

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
xml2-config not found, can't install php snip128 Linux - Newbie 12 09-29-2011 03:32 PM
PHP5 xml2-config bcf2 Linux - Software 1 07-03-2005 10:45 AM
PHP libxml2 error viperkt400 Linux - Software 1 03-02-2005 02:06 PM
Can't find php config? gakom Mandriva 2 12-01-2004 07:34 AM
./configure cant find xml2-config (neither can I) unholy Linux - Software 10 10-26-2003 12:56 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:34 PM.

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