在Yii2中更新作曲家时,系统中缺少所需的PHP扩展名ext-soap *

时间:2018-08-19 10:14:22

标签: php laravel yii2 composer-php

Problem 1
    - The requested PHP extension ext-soap * is missing from your system. Install or enable PHP's soap extension.
  Problem 2
    - Installation request for googleads/googleads-php-lib ^27.1 -> satisfiable by googleads/googleads-php-lib[27.1.0].
    - googleads/googleads-php-lib 27.1.0 requires ext-soap * -> the requested PHP extension soap is missing from your system.

  To enable extensions, verify that they are enabled in your .ini files:
    - C:\xampp\php\php.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

注意:我已经在php.ini中启用了soap扩展

1 个答案:

答案 0 :(得分:0)

这个命令应该修复它sudo apt-get install php7.0-curl。 注意:将 PHP 版本更改为您使用的版本。