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

Category: PHP | July 25, 2016

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

[CentOS]

$ sudo yum install libxml2-devel

[Ubuntu]

$ sudo apt-get install libxml2-dev