PHP编译常见错误

1.

configure: error: no acceptable cc found in $PATH


yum install -y gcc

2.

configure: error: xml2-config not found. Please check your libxml2 installation


yum install libxml2-devel -y

3.