When compiling PHP, error:
Install PHP 5.4.3 Configure error Xml2-config not found. Please check your LIBXML2 installation error
Check if the LIBXM package is installed
[[email protected] software]# RPM-QA |grep libxml2//view current installed point package
libxml2-2.6.26-2.1.12
libxml2-python-2.6.26-2.1.12
Reinstall the LIBXML2 and Libxml2-devel packages, Yum installed when the new version will be prompted to update, need to update the update, do not skip the line.
[email protected]/]# Yum install LIBXML2
[email protected]/]# Yum install libxml2-devel-y
Find out if the Xml2-config file exists after installation
[[email protected]/] # Find/-name "Xml2-config"
/usr/bin/xml2-config
This article is from the "Xin Stretch" blog, please be sure to keep this source http://xinsz08.blog.51cto.com/10565212/1795744
PhP Common Installation Error Configure error Xml2-config not found. Please check your LIBXML2 installation