Centos 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 configure error xml2 config not found please check your libxml2 installation Discuss the workings and policies of this site About Us Learn php configure error xml2 config not found please check your libxml2 installation more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us configure: error: please reinstall the bzip2 distribution Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you,
Configure: Error: Please Reinstall The Libcurl Distribution
helping each other. Join them; it only takes a minute: Sign up How to fix error with xml2-config not found when installing PHP from sources? up vote 91 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 configure: error: jpeglib.h not found. error: configure: error: xml2-config not found. Please check your libxml2 installation. php compilation php-5.3 share|improve this question edited Nov 12 '14 at 14:29 kenorb 21k8148121 asked Nov 11 '13 at 10:30 TroodoN-Mike 5,64863455 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 203 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,2383552 answered Nov 11 '13 at 10:30 TroodoN-Mike 5,64863455 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 @JLewkovic
intellij (4) java (429) jdbc (26) swing (74) jsp (9) latex (26) linux/unix (289) mac os x (315) mysql (54) ooa/ood (11) perl (156) php (97) postgresql (17) programming (43) ruby (56) scala (640) sencha (23) servlets (10) technology (84) testing (13) uml (24) zen (47) PHP check your libxml2 installation error By Alvin Alexander. Last updated: June 3 2016 I was installing PHP on a configure error cannot find openssl's evp.h centos CentOS (Linux) server yesterday (using the configure script), and ran into an error
Configure Error Please Reinstall The Bzip2 Distribution Ubuntu
related to my libxml2 installation. Here's the complete error message that shows up at the end of the configure script
Xml2-config Ubuntu
output: configure: error: xml2-config not found. Please check your libxml2 installation. During a Google search I saw some different possible answers to this problem, but on my CentOS/Linux server I was able to http://stackoverflow.com/questions/19904083/how-to-fix-error-with-xml2-config-not-found-when-installing-php-from-sources solve this problem by installing the libxml2-devel.i386 package with yum, like this: yum install libxml2-devel.i386 After that, the PHP installation via the configure script worked just fine, problem solved. linux-unix xml2-config not found solved solution resolved problem please check your libxml2 installation php linux libxml2 error configure centos Solved problem trying to configure PHP with GD support How to install Apache with the mod_proxy module http://alvinalexander.com/blog/post/linux-unix/php-check-your-libxml2-installation-centos PHP installation error - unable to install php5 - configure: error: libjpeg.(a|so) not found Apache cannot restore segment prot after reloc Getting PHP, MySQL, and Mac OS X to work together Nagios error code 127, make sure your plugin actually exists books i’ve written I Still Forgive You “Tell them I was a writer” Doctors who specialize in mast cell activation disease Most doctors don’t know what mast cell activation disease is Mast cells don’t die, they just multiply Never Bet Against Occam (a book on mast cell activation disease) Add new comment Your name Email The content of this field is kept private and will not be shown publicly. Homepage Subject Comment About text formats Anonymous format Allowed HTML tags:
Lines and paragraphs break automatically. Home page By submitting this form, you accept the Mollom privacy policy. Links: front page me on twitter search privacy java java applets java faqs misc content java source code test projects lejos Perl perl faqs programs perl recipes perl tutorials Unix man (help) pages unix by example tutorials source code warehouse java examples drupal examples misc privacy po
Your libxml2 Installation Litespeed PHP: configure: error: xml2-config Not Found. Please Check Your libxml2 Installation alex August 18, 2010 Errors 2 Comments Tweet While compiling https://www.question-defense.com/2010/08/18/litespeed-php-configure-error-xml2-config-not-found-please-check-your-libxml2-installation PHP on a Litespeed web server this evening I ran into multiple issues one of which related to the libxml2 package on the server. This can be https://crybit.com/20-common-php-compilation-errors-and-fix-unix/ 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 configure error seen while 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 configure error xml2 viewed 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 ====================================
Firewall exim MySql scripts Utilities Web-ART WordPress Wallpapers Our Forums Donate to CryBit It's new!!! How to change PHP handler from SuPHP to FastCGI in a cPanel server Manage passwords using LastPass - Live safely How to install and configure csf on CentOS/RHEL servers? [Solved] Default email account's disk space usage not updating - cPanel How to unblock an IP address from WHMCS? 20+ common PHP compilation errors and fix - Unix Posted by: Arunlal Ashok in Errors 39 Comments Compiling PHP is not an easy process by comparing with the installation of PHP using package managers like Yum or Apt-get. The main advantage of compiling PHP from its source code is the customization. That means you can customize your own PHP with custom modules. A lot of dependencies are required for the compilation of PHP from its source code. By using package manager the dependencies are automatically detected and install with the corresponding package. Here I am listing some common PHP compilation error and fix. This will helpful for compiling PHP on your server. Php compilation on server means the building and installation of PHP from its source. You may get a lot of error while compiling the PHP, here I am listing some common PHP compilation errors and their fixes. ERROR I : checking for BZip2 support… yes checking for BZip2 in default path… not found configure: error: Please reinstall the BZip2 distribution Solution: yum install bzip2-devel ERROR II : checking for cURL support… yes checking if we should use cURL for url streams… no checking for cURL in default path… not found configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/ Solution: yum install curl-devel ERROR III : checking for fabsf… yes checking for floorf… yes configure: error: jpeglib.h not found. checking for fabsf… yes checking for floorf… yes checking for jpeg_read_header in -ljpeg… yes configure: error: png.h not found. Solution: yum install libpng-devel ERROR IV : checking for curl_multi_strerror in -lcurl… yes checking for QDBM support… no checking for GDBM support… no checking for NDBM support… no configure: error: DBA: Could not find necessary header file(s). Solution: yum install db4-devel ERROR V : checking for png_write_image in -lpn