【发布时间】:2019-01-25 18:00:31
【问题描述】:
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 扩展
【问题讨论】:
-
你确定你更新的是正确的ini文件
-
是的,我已经在 xamp/php/php.ini 中更新了(开发和产品两者)
-
如果你使用的是 Linux,
php -m | grep soap的输出是什么 -
请显示您的
php.ini文件的内容以及php --ini、php -m和php -i的输出。 -
试试this 回答。希望,它会有所帮助。
标签: php laravel yii2 composer-php