红联Linux门户
Linux帮助

安装php出错,请问出在何处

发布时间:2013-04-16 14:16:27来源:红联作者:duchenpaul
安装命令: [root@nagios php-5.2.10]# ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-libxml-dir --with-gd --with-jpeg-dir --with-png-dir --with-freetype-dir --with-iconv-dir --with-zlib-dir --with-bz2 --with-openssl --with-mcrypt --enable-soap --enable-gd-native-ttf --enable-ftp --enable-mbstring --enable-sockets --enable-exif --disable-ipv6


出错提示:
checking libxml2 install dir... yes
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... no
configure: error: build test failed. Please check the config.log for details.

PS: *libxml2 ,libxml2 devel均已安装
* 公司内网,所以不可以使用yum
*初步怀疑是libxml2 有问题,但不知出在哪, 可不可以跳过libxml?

请高手帮我查查问题 谢谢
文章评论

共有 2 条评论

  1. 枫静水镜 于 2013-04-18 17:38:07发表:

    请教一下 初学者应该看那学书籍???

  2. rock^_^lee 于 2013-04-16 20:18:25发表:

    不是有提示了么?检查config.log文件