php中始终无法添加soap支持,请指教
系统环境:
Red Hat Enterprise Linux Server release 5.4
Linux version 2.6.18-164.el5
PHP-5.2.13

解决方案 »

  1.   

    需要下载PHP的原码自己编译,编译时要带--enable-soap参数
    编译需要libxml-2.5.4的库
      

  2.   

    libxml是2.6.26的,用--enable-soap重新编译过了,还是不行
      

  3.   

    试试看
    yum install php-soap
      

  4.   

    Loaded plugins: rhnplugin, security
    This system is not registered with RHN.
    RHN support will be disabled.
    Setting up Install Process
    No package php-soap available.
    Nothing to do
      

  5.   

    nusoap吧,不需要PHP有SOAP或其他什么库的支持。
    更好用,既可建服务器端又可建客户端。
      

  6.   

    http://www.zenboss.com/index.php?title=Php_soap&variant=zh-hansPHP安装SOAP扩展1.安装php-soap:
    yum install php-soap -y2.在PHP的编译参数中加入--enable-soap,如:
    --
    ./configure --prefix=/usr/local/php-5.2.12 --with-config-file-path=/usr/local/php-5.2.12/etc --enable-fastcgi --enable-force-cgi-redirect --with-curl --with-gd --with-ldap --with-snmp --enable-zip --enable-exif --with-pdo-mysql --with-mysql --with-mysqli --enable-soap