已解决
发布

阿里云 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

1 答案

发布
管理员 2016-07-02

libxml2 libxml2-dev没有安装,apt源有问题?
apt-get install libxml2 libxml2-dev 安装后试试?

#1

请登录或者 注册 来提交答案