Google Cloud Platform + CakePHP 3.x (3.4)

Here’s a quick tutorial on how to get CakePHP 3.x (3.4 as of writing this) installed on the Google Cloud Platform (App Engine)

Start in your user directory on the google cloud console

Install Composer

Create your CakePHP app

Create the app.yaml file

Add this to your app.yaml file (note, spaces & line breaks matter)

Create the php.ini file

Add this to your php.ini file

Create the nginx-app.conf file

Add this to your nging-app.conf file

Update your composer requirements

Configure you MySQL DB

Launch your new app

 

Was this blog post helpful for you?

Support my blog and donate!

My blog is open to the public and will always be freely available. With your donation, we can help others learn, together.