Free Tech Updates

Deploying Hello World.php in Google Cloud.

Here is how we can test Google Cloud Platform (GSP) with a simple PHP application.

Step 1:

First you need to create a project in GSP.visit and start creating a project.Give a suitable name first.

Step 2:

Go to development and enter this

runtime: php55
api_version: 1

- url: /.*
  script: helloworld.php

Easy method is to clone a sample project to you VM and deploy.

Activate Google cloud shell from above right corner.

Next git clone after creating a directory in your VM space.

Debug using this.


After execution is complete, you are asked to continue deployment.

*$gcloud app deploy app.yaml --project tensile-octagon-705

Be sure to see the result in your browser.

*---this link will be different for you

One last thing! After completing the test be sure to Clean up your project.


Post a Comment


Most Read


Blog Archive

Scroll To Top