This topic is locked

Running PHPRunner apps on Google Cloud Platfrom

2/3/2016 4:22:45 PM
PHPRunner Tips and Tricks
Sergey Kornilov admin

Here is how you can get started running PHP apps on Google Cloud Platform. I suggest downloading and installing App Engine SDK for PHP first so you can test your projects locally. The only tricky part is to configure handlers in app.yaml file.
Here is the sample app.yaml file. Make sure to replace application name with the real one.

application: engineapp

version: 1

runtime: php55

api_version: 1

threadsafe: yes
handlers:
- url: /(.+\.(gif|png|jpg|css|js|ttf))$

static_files: \1

upload: .+\.(gif|png|jpg)$

application_readable: true
- url: /(.+\.php)$

script: \1


Happy coding!