问题描述
我已经通过SSH在Godaddy共享主机上安装了Guzzle,但是我的Drupal网站仍然告诉我:会说吗它似乎已经正确安装。
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%
写入锁定文件
生成自动加载文件
在图书馆页面上,如果你是使用包
I have installed Guzzle on my Godaddy shared hosting via SSH but my Drupal site is still telling me that:
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库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!