app.yaml In PHP

I’ve been poking around the PHP runtime and building a few demonstration applications. One of the major difficulties with configuring a PHP app is getting the app.yaml file to work properly.

Here’s a demonstration app,yaml file to get a basic app going:

application: [app-id]
version: 1
runtime: php
api_version: 1
threadsafe: true
handlers:
- url: /static
  static_dir: static
  expiration: 30d
- url: /favicon.ico
  static_files: static/favicon.ico
  upload: static/favicon.ico
- url: .*
  script: yourphpfile.php