阿里云Ubuntu安装PHP时候报错

问答中心分类: OneinStack阿里云Ubuntu安装PHP时候报错
Lissome 提问 1年 前

阿里云 Ubuntu 14.04,安装PHP的时候报错:

checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
PHP install failed, Please Contact the author!
Killed