Skip to main content

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 https://console.cloud.google.com and start creating a project.Give a suitable name first.


Step 2:


Go to development and enter this

runtime: php55
api_version: 1

handlers:
- 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.

*https://8080-dot-2220042-dot-devshell.appspot.com/?authuser=0

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.
*
http://tensile-octagon-705.appspot.com/

*---this link will be different for you

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

Comments

Popular posts from this blog

Freenom ICANN registrar accreditation suspended for cybersquatting

OpenTLD, its registrar business, has been told it cannot accept new registrations or inbound transfers from July 8 to October 6 or until it provides ICANN with a full list of the names it squatted. I believe it’s the first time ICANN has suspended a registrar for this reason. ICANN has found that OpenTLD has engaged in a pattern and practice of trafficking in or use of domain names identical or confusingly similar to a trademark or service mark of a third party in which the Registered Name Holder has no rights or legitimate interest   To avoid termination, it has to provide ICANN with a list of all of its trademark infringing names, agree to transfer them to the mark owners or delete them, and bunch of other stuff. Source Letter

Will 5G cause a Digital divide in society ?

How 5G make huge difference in future and its negative impact on you.