Centos系统上安装php遇到的错误解决方法集锦

Centos系统上安装php遇到的错误解决方法集锦
1.configure: error: xml2-config not found. Please check your libxml2 installation yum install libxml2 libxml2-devel 2.configure: error: Cannot find OpenSSL’s yum install openssl openssl-devel 3.configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/ yum install curl curl-devel 4.configure: error: Please reinstall the BZip2 distribut...