我很难找到一种方法将我的 php 应用程序/脚本迁移到谷歌的 appengine。我认为这一切都源于 app.yaml。
当我访问 localhost:9080 时,它会重定向如下所示:
http://localhost:9080/index.php/admin/index.php/admin/index.php/admin/index.php/admin/index.php/admin/index.php/admin/index.php/admin/index.php/admin/index.php/admin/index.php/admin/index.php/admin/index.php/admin/index.php/admin/index.php/admin/index.php/admin/index.php/admin/index.php/admin/index.php/admin/index.php/admin/index.php/admin/index.php/admin/login
什么问题,我该如何解决?我尝试了 wordpress 之类的示例,它们都可以工作,但没有太多解释 app.yaml 是如何派生的。特别是,如果我们采用 phpscript,如何轻松迁移到 google appengine,迁移路径指南/教程会很有帮助。
无论如何,这是我的 app.yaml
application: phptestapp
version: 1
runtime: php
api_version: 1
threadsafe: yes
handlers:
- url: /favicon\.ico
static_files: favicon.ico
upload: favicon\.ico
- url: /.*
script: index.php