LoginSignup
0
0

More than 5 years have passed since last update.

【PHP】google app engine 登録手順

Posted at

■対象ページ
今すぐ Google App Engine をお試しくださいページ

■プロジェクト(今回はgyosyo)を作成してデプロイ、コマンド
appcfg.py -A gyosyo-1028 update appengine-try-php

コマンドがエラーになる場合「--no_cookies」をいれるとよいらしい
appcfg.py --no_cookies -A gyosyo-1028 update appengine-try-php

ブラウザが立ち上がって、「The authentication flow has completed.」と表示される

そしてエラー
Error 400: --- begin server output ---
PHP 5.4 applications are prevented from being deployed to Google App Engine from any version of the SDK, including older ones. If you need to continue to deploy PHP 5.4 applications for compatibility reasons, you can request that your application be whitelisted for PHP 5.4 deployment by visiting http://goo.gl/qjKEuk.
--- end server output ---
なんかphpのバージョンが古いらしいのでこちらを参考にapp.yamlを変更とコマンドに「--runtime=php55」を追加
appcfg.py --no_cookies --runtime=php55 -A sacred-result-102806 update appengine-try-php

■プロジェクトダッシュボードで管理
https://console.developers.google.com/
https://appengine.google.com/

■参考
http://nyarurato.hatenablog.com/entry/2014/08/22/033309

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0