zoukankan      html  css  js  c++  java
  • PHP for Linux之xml2config这个文件没找到

    今天在CentOS5下编译安装PHP5.2.4时出现错误:PHP安装错误 configure: error: xml2-config not found 错误原因,xml2-config这个文件没找到。

    网上查了下很多遇到这个问题的,原因是这两个包, libxml2-2.6.23-1.2.i386.rpm libxml2-devel-2.6.23-1.2.i386.rpm */ 没有安装。

    重新安装

    rpm -ivh libxml2-2.6.23-1.2.i386.rpm

    rpm -ivh libxml2-devel-2.6.23-1.2.i386.rpm

    再重新./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache --with-mysql

    即可解决

    yum install libxml2
    yum install libxml2-devel

    yum install openssl-devel
    =============================

    checking for CURL in default path... not found
    configure: error: Please reinstall the libcurl distribution -
    easy.h should be in <curl-dir>/include/curl/

    Solution:yum install curl
    yum install curl-devel
  • 相关阅读:
    睁大你的眼睛,警惕职业生涯中的“红灯”
    几则好玩的脑筋急转弯
    File.Delete()的解决
    Powershell之True或False
    发送邮件
    IE与CSS兼容性
    WSS
    File.Delete()
    添加field部署
    css加载
  • 原文地址:https://www.cnblogs.com/buffer/p/2123601.html
Copyright © 2011-2022 走看看