略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: 安装

2024-11-15

安装

To enable SOAP support, configure PHP with --enable-soap.

add a noteadd a note

User Contributed Notes 6 notes

up
-20
c at cinqs dot net
5 years ago
If you received a

    E: Couldn't find any package by regex 'php7.1-soap'

when using docker php:apache image

try

    apt-get install php-soap

instead
up
-25
dbagnara
5 years ago
for Ubuntu 16.04 LTS
sudo apt-get install php7.0-soap
sudo systemctl restart apache2.service
up
-23
wally at soggysoftware dot co dot uk
5 years ago
If you're using official PHP packages shipped with CentOS or RedHat version 6 or 7:

# yum install php-soap

(Restart Apache/nginx too if appropriate.)
up
-25
cdvillagra
5 years ago
If you have not yet updated the OS and also the PHP version

for Ubuntu 14.04 LTS
sudo apt-get install php5.6-soap
sudo service apache2 restart
up
-28
slawkens
4 years ago
for latest MacOS with brew, where Homebrew/PHP is deprecated:

brew install php@7.2-soap

(change 7.2 to your version)
up
-37
digimix.co
5 years ago
On PHP7.1 Ubuntu 16.04 LTS:
$ sudo apt-get install php7.1-soap
$ sudo service php7.1-fpm reload

官方地址:https://www.php.net/manual/en/soap.installation.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3