我已经在 php 中创建了一个应用程序。文件夹“myapp-test-1”有一个名为 index.php 的文件和一个文件夹 CSS,其中包含文件 main.css,这是 index.php 的 css 文件。我正在尝试创建我的应用程序 yaml 文件以上传我在谷歌应用引擎中的项目。这是我的 app.yaml 文件:
application: myapp-test-1
version: 1
runtime: php
api_version: 1
handlers:
- url: /.*
script: index.php
- url: /css
static_dir: css
- url: /css/
script: main.css
在浏览器中测试时,似乎 index.php 文件未满载。此外 index.php 的 css 不工作。