Php Install Configure Error Xml2-config Not Found
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the
Xml2-config Not Found Ubuntu
workings and policies of this site About Us Learn more about Stack configure: error: please reinstall the bzip2 distribution Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs
Configure: Error: Please Reinstall The Libcurl Distribution
Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join configure: error: jpeglib.h not found. them; it only takes a minute: Sign up How to fix error with xml2-config not found when installing PHP from sources? up vote 93 down vote favorite 6 When I try to install php 5.3 stable from source on Ubuntu (downloading compressed installation file from http://www.php.net/downloads.php) and I run ./configure I get this error: configure: error: xml2-config not found. Please what is xml2-config check your libxml2 installation. php compilation php-5.3 share|improve this question edited Nov 12 '14 at 14:29 kenorb 22.1k8155127 asked Nov 11 '13 at 10:30 TroodoN-Mike 5,74373556 Related: How to fix PHP installation when xml2-config is missing? –kenorb Nov 12 '14 at 14:30 add a comment| 2 Answers 2 active oldest votes up vote 207 down vote accepted All you need to do instal install package libxml2-dev for example: sudo apt-get install libxml2-dev On CentOS/RHEL: sudo yum install libxml2-devel share|improve this answer edited Nov 20 '14 at 17:42 radtek 6,3843652 answered Nov 11 '13 at 10:30 TroodoN-Mike 5,74373556 5 I'm using centos 6.4, for me the package was called libxml2-devel –msknapp May 17 '14 at 19:27 4 for the error in centos 7 run: sudo yum install libxml2-devel –TroodoN-Mike Aug 13 '14 at 10:43 2 Does anyone know why the dev version is required over the standard libxml2 package? –JLewkovich Aug 27 '15 at 14:42 1 @JLewkovich I'd assume it's because the dev version contains the source code or something. A
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 the company Business Learn
Checking For Bzip2 In Default Path... Not Found
more about hiring developers or posting ads with us Super User Questions Tags Users Badges configure error cannot find openssl's evp.h centos Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes
Configure: Error: Please Reinstall The Bzip2 Distribution Ubuntu
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 install PHP without libxml2 up vote 1 down vote favorite http://stackoverflow.com/questions/19904083/how-to-fix-error-with-xml2-config-not-found-when-installing-php-from-sources When I run PHP 5.3.1 configure in my home directory, I get error message: configure: error: xml2-config not found. Please check your libxml2 installation. I don't have the root password on that machine, so I have managed to compile libxml2 only in home directory -- no permissions to copy it to the system directories. So, as I understand, I have two options: to set path to the recently compiled libxml2 in the PHP configure settings compile without http://superuser.com/questions/93670/how-to-install-php-without-libxml2 libxml2 Could you tell me how to do any of them? I don't have a good experience with Linux etc. so I believe it might be a simple question... BTW, it is Linux Debian 4.0 machine. linux troubleshooting installation php xml share|improve this question edited Aug 21 '11 at 7:26 studiohack♦ 10.8k1672108 asked Jan 9 '10 at 22:14 Andrei 4943725 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted Yeah, I found the answer on SOF: http://stackoverflow.com/questions/610940/install-php-5-without-libxml2 share|improve this answer answered Jan 9 '10 at 22:22 Andrei 4943725 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 linux troubleshooting installation php xml or ask your own question. asked 6 years ago viewed 5015 times active 5 years ago Related 2Configure error when installing php6Installing PHP APC on Windows/Apache0“unrecognized options” while installing php0PHP Installation on RHEL0Install Php-pear to /usr/share Raspbian (debian)1How to install php soap with rpm packages in centos 6.4 x86_640Secure Apache PHP installation: Using the right user:group0How to fix PHP installation when xml2-config is missing
Installation Litespeed PHP: configure: error: xml2-config Not Found. Please Check Your libxml2 Installation alex August 18, 2010 2 Comments Tweet While compiling PHP on https://www.question-defense.com/2010/08/18/litespeed-php-configure-error-xml2-config-not-found-please-check-your-libxml2-installation a Litespeed web server this evening I ran into multiple issues https://techglimpse.com/php-configure-error-libxml2-installation/ one of which related to the libxml2 package on the server. This can be confusing because on the server libxml2 was installed. Below is more information regarding the error located in the Litespeed Admin detailed log report which can be easily seen while not found compiling PHP from the web interface as well as information on what needs to be installed to resolve the error. Error Compiling PHP Via Litespeed Web Admin: Below are details from the Detailed Log located on the "Compile PHP with LSAPI" page in the Litespeed administration console page. The Detailed Log can be viewed configure: error: please in real time at the bottom of the page and the error in question will cause the installation to error out with the last couple of visible lines being similar to the below. text checking libxml2 install dir... no checking for xml2-config path... configure: error: xml2-config not found. Please check your libxml2 installation. **ERROR** Could not configure PHP build Litespeed Compile PHP libxml2 Error: You can resolve this error by installing the libxml2-devel package using yum as shown in the below example out. Install libxml2-devel Using Yum: bash [root@dev ~]# yum install libxml2-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirrors.usc.edu * base: mirrors.bluehost.com * extras: mirrors.versaweb.com * updates: centos-distro.cavecreek.net Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package libxml2-devel.i386 0:2.6.26-2.1.2.8 set to be updated --> Processing Dependency: zlib-devel for package: libxml2-devel --> Running transaction check ---> Package zlib-devel.i386 0:1.2.3-3 set to be updated --> Finished Dependency Resolution Dependencies Resolved ====================================================================================================
php installation from 5.1.6 to 5.2.4 or later version. Unfortunately, through yum, i couldn't upgrade php! So the other option left was to install from source. Downloaded the latest stable version of php ie, 5.5.7 and started to compile. To my unluck, i ran into following errors: configure: error: xml2-config not found. Please check your libxml2 installation. The quick solution to the above problem is you need to install libxml2-devel package. Easy way of installing it is using yum by issuing the following command on your CentOS/Fedora/RHEL Linux distributions. [root@catest php-5.5.7]# yum install libxml2-devel Libxml2-devel installation on Linux On Debian/Ubuntu you can install using apt-get as shown in the below command: # apt-get install libxml2-dev Related Posts: [Linux] : How to configure yum to use CentOS repository in RHEL machine How to install mod_pagespeed module for Apache in RHEL, CentOS and Fedora using YUM [Linux]: How to setup LogWatch on CentOs/RHEL/Fedora to monitor System Logs An Ultimate Guide to Upgrade Kernel on CentOS/RHEL/Fedora [Linux]: 15 most frequently used YUM Commands with examples Topics : How to Linux Web Server FAQ Get Free Email Updates Disclaimer: The content published in this article is the views of the author only. Techglimpse does not gurantee accuracy, completness or validity. If you believe the content on this post violates your copyright, please send us a mail for removal. Read more. How To + Apps WordPress Linux OpenStack WordPress Demos Ebooks Tweetshort Advertise Menu Gadgets Apps Linux WordPress Demos How To About Techglimpse Techglimpse.com is one of the fastest growing technology news site covering social media, latest tech gadgets, How-to articles and videos. Founded in 2008, Techglimpse is run by Digisparks Infotech. We provide you with hot technology information, tools, and suggestions that help you to know the ever growing techy world better and better. Copyright ©2009-2015 Techglimpse.com, All rights reserved. Developed and Maintained by DigisparksInfotech About Us Contact Us Advertise Reviews Terms & Privacy Subscribe Facebook Twitter Youtube RSS Stumble Upon Google+ Share Tweet Share Pin Stumble