Error Xml2 Config Not Found Ubuntu
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have configure error xml2 config not found please check your libxml2 installation Meta Discuss the workings and policies of this site About Us
Php Xml2 Config Not Found
Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with xml2 config not found centos us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only
Configure: Error: Please Reinstall The Bzip2 Distribution
takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How to fix PHP installation when xml2-config is missing? up vote 0 down vote favorite I am fairly new to Linux (just getting set up using the Mint 16 what is xml2-config distro), and I got everything working correctly with my Apache 2.4.9 with MySQL and PHP5.5, but I am using this for local Web development, and my host only has PHP5.3 installed. In order to make sure I don't use features that won't work in production, I want to install the older version instead of 5.5. I downloaded the PHP-5.3.28 source tarball, but when I ran the configure script, it says: configure: error: xml2-config not found. Please check your libxml2 installation. Executing dpkg -l *xml* returns: Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===============================-====================-====================-=================================================================== un docbk-xml
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow
Configure: Error: Please Reinstall The Libcurl Distribution
the company Business Learn more about hiring developers or posting ads with us Server
Configure: Error: Jpeglib.h Not Found.
Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. configure error cannot find openssl's evp.h centos Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top configure: error: xml2-config not http://superuser.com/questions/740399/how-to-fix-php-installation-when-xml2-config-is-missing found. Please check your libxml2 installation up vote -1 down vote favorite I am trying to install php5 to my fedora 14. But when I ./configure the error shows configure: error: xml2-config not found. Please check your libxml2 installation.. I installed libxml2 and when I run yum install libxml2 it says Package libxml2-2.7.7-3.fc14.i686 already installed and latest version Nothing to do . What is happening php fedora share|improve this question asked Dec 24 http://serverfault.com/questions/460592/configure-error-xml2-config-not-found-please-check-your-libxml2-installation '12 at 8:43 Nitish 992 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote You should install devel package. share|improve this answer answered Dec 24 '12 at 8:44 dr-evil 1975 I also run yum install libxml2-dev and it says No package libxml2-dev available. Error: Nothing to do !! –Nitish Dec 24 '12 at 8:46 Can you post the output of yum search libxml2 ? Does yum install libxml2-devel works better? –user130370 Dec 24 '12 at 8:50 1 It's libxml2-devel. Also if you are unsure about a name again search for it: yum search libxml2 –faker Dec 24 '12 at 8:50 Thanks faker. It was libxml2-devel. –Nitish Dec 24 '12 at 8:59 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged php fedora or ask your own question. asked 3 years ago viewed 1975 times active 3 years ago Related 1How can I install PHP5 on Fedora Core 5?2mak
Sign in Pricing Blog Support Search GitHub This repository Watch 3 Star 9 Fork 6 mysqludf/lib_mysqludf_xml Code Issues 2 https://github.com/mysqludf/lib_mysqludf_xml/issues/1 Pull requests 0 Projects 0 Pulse Graphs New issue configure: error: "could not find headers for libxml2: #1 Closed Sarge2013 opened this Issue Aug 4, 2013 · 17 http://zgadzaj.com/how-to-install-php-53-and-52-together-on-ubuntu-1204 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 6 participants Sarge2013 commented Aug 4, 2013 Hello, installing on CentOS not found 6.4 I met the following problem ./configure it starts configuration but stops with checking for libxml2... configure: error: "could not find headers for libxml2: /usr/include/libxml or /usr/include/libxml2/libxml" On http://stackoverflow.com/questions/5544074/cannot-compile-when-using-libxml I found an advise "You need always to keep the -I/usr/include/libxml2 in your gcc statement, so that it can find the header files" But how to xml2 config not use it, what file and how should be corrected ? Or may be there is another solution ? Thank you very much in advance ! UDF Repository for MySQL member jasny commented Aug 4, 2013 You need to install the libxml2 development files. If you're on Debian or Ubuntu run sudo apt-get install libxml2-dev. On CentOS run yum install libxml2-devel. jasny closed this Aug 4, 2013 Sarge2013 commented Aug 4, 2013 I already tried yum install libxml2-devel Loaded plugins: priorities 176 packages excluded due to repository priority protections Setting up Install Process Package libxml2-devel-2.7.6-12.el6_4.1.x86_64 already installed and latest version Nothing to do So I already have latest package of libxml2-devel - but it does not solve the problem. Best regards, Serge UDF Repository for MySQL member jasny commented Aug 4, 2013 Hmm try running ./configure --with-libxml2=/usr/bin/xml2-config jasny reopened this Aug 4, 2013 Sarge2013 commented Aug 4, 2013 I have same again [root@zulu281 xmlmaster]# ./configure --with-libxml2=/usr/bin/xml2-config ......................... configure: setting libdir to mysql plugin dir /usr/lib64/mysql/plugin checking
better with PHP 5.2. Even though D6 core is compatible with PHP 5.3 for quite some time now, a lot of contributes modules still get nasty hiccup when asked to run on the newer version. Therefore developing for both D7 and D6 at the same time becomes much less painful when running both versions of PHP in parallel. One way of doing it is using mod_php5 Apache module to serve PHP 5.3 applications, while running PHP 5.2 applications using fastcgi module. Under Ubuntu 12.04 this can be achieved by installing PHP 5.3 from the repositories and manually compiling and installing PHP 5.2 afterwards. Installing PHP 5.3 from repositories is fairly easy process, which you most probably already have under your belt, so let's just say that it looks more or less like this: sudo apt-get install php5 php5-common php5-cli php5-dev php5-mysql phpmyadmin php5-pgsql phppgadmin php5-gd php5-mcrypt php5-curl php-pear libapache2-mod-php5 php5-xdebug php5-codesniffer What is much more interesting though, and what this post will focus on, is how to add PHP 5.2 to the whole picture and make both those versions work nicely together. Please note that this tutorial is for Apache's name-based virtual hosts, and essentially leaves PHP 5.3 enabled globally while allowing to use PHP 5.2 on specific, selected virtual hosts only. Download PHP sources Let's then start with downloading PHP 5.2 sources from Unsupported Historical Releases list. I have originally started with version 5.2.10 (as it is the same version that we have on our production servers), but then was stopped short by OpenSSL error during configuration stage: /usr/include/openssl/conf.h:132:7: note: expected 'struct lhash_st_CONF_VALUE *' but argument is of type 'int *'
make: *** [ext/openssl/openssl.lo] Error 1 to which I was not able to find any good fix (relatively easy to apply anyway), so finally ended up with the most recent version from 5.2 branch - 5.2.17, where those errors haven't occured anymore. Let's then download and uncompress PHP sources into ~/Downloads/php-5.2.17 directory: mkdir -p ~/Downloads/php-5.2.17
cd ~/Downloads/php-5.2.17
wget http://museum.php.net/php5/php-5.2.17.tar.gz
tar zxf php-5.2.17.tar.gz Configure Time to configure the package.