【问题标题】:Firestore PHP SDK issues in installationFirestore PHP SDK 安装中的问题
【发布时间】:2019-01-30 13:21:29
【问题描述】:

我正在关注位于 https://cloud.google.com/firestore/docs/quickstart-servers

  1. gRPC 已安装
  2. 通过 Putty 登录我的帐户
  3. 通过 composer 安装 SDK
  4. 运行并验证导出 GOOGLE_APPLICATION_CREDENTIALS="/home/firebase-php-sdk/hcare-230207-521d43bf5e6d.json"
  5. 当我初始化客户端时,出现错误位于:https://m.hatemyfat.com/?firestore

我使用的代码与说明相同:

use Google\Cloud\Firestore\FirestoreClient;
require '/home/hatemyfat/sdks/vendor/autoload.php';
$firestore = new FirestoreClient();

我确信有一些东西需要快速修复,所以期待专家帮助开始

【问题讨论】:

    标签: php firebase google-cloud-firestore


    【解决方案1】:

    现在好像可以了?我点击了链接,得到了一些看起来有效的 json 响应。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-05-26
      • 1970-01-01
      • 2011-07-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多