php configure時のエラーと対処

エラー内容1
configure: error: xml2-config not found. Please check your libxml2 installation.
対応libxml2がないので、インストールする。 ...
configure: error: xml2-config not found. Please check your libxml2 installation.
対応libxml2がないので、インストールする。 ...