MailChimp PHP库缺少所需的GuzzleHttp库 [英] The MailChimp PHP library is missing the required GuzzleHttp library
问题描述
MailChimp PHP图书馆缺少所需的GuzzleHttp库
请检查README.txt中的安装说明。
会说吗它似乎已经正确安装。
godaddy @ user [〜/ public_html] $ php composer.phar require guzzlehttp / guzzle:〜 6.0
./composer.json已创建
加载包信息的编辑器存储库
更新依赖关系(包括require-dev)
- 安装guzzlehttp / promises(1.2.0)
下载:100%
- 安装psr / http-message(1.0)
下载:100%
- 安装guzzlehttp / psr7(1.3.0 )
下载:100%
- 安装guzzlehttp / guzzle(6.2.0)
下载:100%
写入锁定文件
生成自动加载文件
信用: https://www.drupal.org/node/2709615#comment-11888769
I have installed Guzzle on my Godaddy shared hosting via SSH but my Drupal site is still telling me that:
"The MailChimp PHP library is missing the required GuzzleHttp library. Please check the installation notes in README.txt."
Any ideas why it would be saying that? it appears to have installed correctly.
godaddy@user [~/public_html]$ php composer.phar require guzzlehttp/guzzle:~6.0
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing guzzlehttp/promises (1.2.0)
Downloading: 100%
- Installing psr/http-message (1.0)
Downloading: 100%
- Installing guzzlehttp/psr7 (1.3.0)
Downloading: 100%
- Installing guzzlehttp/guzzle (6.2.0)
Downloading: 100%
Writing lock file
Generating autoload files
On the library page, if you are using the package https://github.com/thinkshout/mailchimp-api-php/releases which contains everything e.g. v1.0.6-package.zip (and therefore having everything already doesn't require composer to get them), then remove /vendor from .gitignore so that all the files in /vendor - including guzzle are included in your code base so that should you deploy the code from your repo to a production server, all of it will be loaded.
CREDIT: https://www.drupal.org/node/2709615#comment-11888769
这篇关于MailChimp PHP库缺少所需的GuzzleHttp库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!