configure: error: xml2-config not found. Please check your libxml2 installation.
yum install gcc bison bison-devel zlib-devel libmcrypt-devel mcrypt mhash-devel openssl-devel libxml2-devel libcurl-devel bzip2-devel readline-devel libedit-devel sqlite-devel jemalloc jemalloc-devel libpn libpng-devel libjpeg-devel freetype-devel -y wget http://cn2.php.net/distributions/php-5.6.30.tar.gz tar zvxf php-5.6.30.tar.gz cd php-5.6.30 ./configure make && make install php安装报错: 【 configure: error: xml2-config not found. Please check your libxml2 installation. 】 yum install libxml2 libxml2-devel -y 来源: https://www.cnblogs.com/cyanrose/p/11544466.html