Ubuntu编译安装Php,配置时出现:Configure: error: XML configuration could not be found


解决这个问题是需要安装libxml,

sudo apt-get install libxml2-dev