【问题标题】:How to install and active SOAP in php 5.6如何在 php 5.6 中安装和激活 SOAP
【发布时间】:2017-12-11 02:21:56
【问题描述】:

当我在命令行中输入apt-cache search php | grep -i soap 时,它显示

libnusoap-php - SOAP toolkit for PHP
php7.0-soap - SOAP module for PHP
python-pysimplesoap - simple and lightweight SOAP Library (Python 2)
python3-pysimplesoap - simple and lightweight SOAP Library (Python 3)
php-soap - SOAP module for PHP [default]
php5.6-soap - SOAP module for PHP
php7.1-soap - SOAP module for PHP
php7.2-soap - SOAP module for PHP
root@ip-172-30-0-48:/var/www/html# sudo apt-get install php-soap
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-soap is already the newest version (1:7.1+55+ubuntu16.04.1+deb.sury.org+1).
The following package was automatically installed and is no longer required:
  libcurl3
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.

============

但是 SOAP 没有激活。请帮助启动它..

【问题讨论】:

    标签: php web-services soap ubuntu-16.04 php-5.6


    【解决方案1】:

    对于PHP5.6,请运行命令

    yum install php56w-soap
    

    安装后请重启服务

    service httpd restart
    

    【讨论】:

      猜你喜欢
      • 2022-01-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-09-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多