Google App Engine での PHP
App Engine で PHP 言語を使用する場合、2 つの環境から選択できます。どちらの環境も同じコード中心のワークフローが採用されています。素早く効率的にスケーリングを行って増加するリクエストに対応し、Google の実績あるサービス技術で、オペレーション上のオーバーヘッドを最小限に留めながら素早くウェブ、モバイル、IoT のアプリケーションを構築できます。2 つの環境には多くの共通点がありますが、重要な違いがいくつかあります。
環境の選択
スタンダード環境
PHP 7 ランタイムでは、あらゆるフレームワーク、ライブラリ、バイナリを実行できます。
PHP 5 ランタイムでは、ネイティブ コード、ファイル システム アクセス、任意のネットワーク接続を使用できません。また、このランタイムは独自の API を使用します。
トラフィックの急増に応じて直ちにスケーリングできるように最適化されています。
無料枠。
フレキシブル環境
あらゆるフレームワーク、ライブラリ、バイナリを実行できるオープンソースのランタイム。
高性能 CPU と大容量メモリのインスタンス タイプ。
同じ Compute Engine ネットワーク内のリソースへのアクセス。
PHP 7.2、7.3
無料枠なし。アプリケーションでは実行中のインスタンス数が最小に保たれます。トラフィックを継続的に処理するアプリケーションでは、費用対効果が最も高くなります。
環境の選択
App Engine アプリケーションは、スタンダード環境とフレキシブル環境のどちらでも実行できます。詳細については、2 つの環境の相違点の概要をご覧ください。
詳細
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"わかりにくい"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"情報またはサンプルコードが不正確"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"必要な情報 / サンプルがない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]