logo
  • 教程列表
  • SO官方文檔
  • Google App Engine
    • 適用於靈活環境的 Php 應用 app.yaml
    • 安裝 gcloud cli
    • 登入並初始化
    • 使用 Php 連線到 Cloud SQL 例項
    • 寫入雲端儲存
    • 記錄和日誌監控
  1. StackOverflow 文件
  2. google-cloud-platform 教程
  3. Google App Engine
  4. 寫入雲端儲存

寫入雲端儲存

Created: November-22, 2018

App Engine 不允許寫入檔案,而是寫入和讀取雲端儲存。

寫入雲端儲存

$file = 'gs://<your-bucket>/hello.txt';
file_put_contents($file, 'hello world');

從雲端儲存中讀取

$contents = file_get_contents($file);
var_dump($contents); 
  • 記錄和日誌監控
  • 使用 Php 連線到 Cloud SQL 例項

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明