Technology Blog





Saturday, October 12, 2013

Google app engine php tutorial in windows. Getting started hello worldexample. GAE development and deployment

Google App Engine (GAE) is a platform as a service (PaaS) cloud computing platform for developing and hosting web applications. Recently Google has made Google App Engine PHP runtime support fully available to the general public, meaning you can run your PHP applications in the Google Cloud Infrastructure with various pricing plans.

I've never used App Engine before and thought of give it a try. I thought I might have to put a lot of workaround for setup and deployment of the project. But I am really impressed by its simplicity of creation and deployment of the project. Also they provide a simple GUI called Google App Engine Launcher for making the application management simpler.

Lets get started,

Creating the Application

1. Go to and download the Python MSI installer for windows and install the application.

2. Then download the PHP SDK for App Engine from the link and install the application.
3. After Installing Python and App Engine PHP SDK, Open the Google App Engine Launcher application,

4. Go to menu bar and click  File -> Create New Application,

5. Fill up the Application Name, Parent Directory, Runtime (PHP), Port and Admin Port.

6. The application will be created and listed out in the GAE launcher.

7. Open the Parent Directory in Explorer, You can see the application folder got created.

8. The new empty application folder will have app.yaml file, main.php file and a favicon.ico file.

9. The app.yaml file will have the application configurations, and by default it is configured in a way that main.php will handle all the requests coming into the application. We'll see the configuration options later and run the application first.

10. Now open Google App Engine Launcher Click Run button given above (Control -> Run),

11. Now goto http://localhost:8080 or to whatever port you have given. You can see the "Hello World!" over there.

If the application is not starting goto Edit -> Preferences, and fill up the required details.

It is said that the default values will be used if it is not set. But for me, Unless I set it manually, The application was not running. Try with the above details. If it is still not running, Try adding the Deployment Server value with "C:Program" in the preference and try again.

The given demo is done in Windows 8 machine. But when I tried with Windows XP, I've got the error message "The procedure entry point InitializeSRWLock could not be located in the dynamic link library KERNEL32.dll" and I couldn't resolve it though.

Deploying application to Google App Engine
12. Go to , Login with your Google account and Click create application.

13. Fill up the Application ID, Title and leave the other options to default and Click Create Application.

14. After creation, You can see a dashboard for the application. Lets not get complicated and start with deploying the application.

15. Now lets create an application to deploy to App Engine, Or you can use your old application itself. Make sure to change the "application:" in the app.yaml with the Application Identifier you've registered with Google App Engine.

16. Select the application and click the Deploy button ( Control -> Deploy )
Fill up your google account credentials and Click Ok.
17. The below window will be opened and the application will be deployed to the Google App Engine.
18. After the deployment is successful, Go to http://<your-app-id>, in the current scenario it is

Bazinga!! Your PHP application is running in Google App Engine Cloud Infrastructure.

I'll explore what else we can do with PHP in Google App Engine and will blog in the upcoming posts.


  1. Thanks for the post, it's very helpful.

  2. The Google tutorial neglected to explain that the preferences really needed to be set for things to work, they really weren't even though it appeared as though they were! I drove myself nuts trying to figure out my mistake but I didn't have one! I was about to give up until I found this, Thank you!

  3. Do you know who is responsible fro development human whose mind is superb a great advanced methodology is responsible fro such applications, that is why companies hire PHP developer

  4. Awesome post. Really you are shared very informative concept... Thank you for
    sharing. Keep on updating...
    Best selenium Training Institute in Chennai | Best selenium Training Institute in Tnagar

  5. Excellent information...It was getting more information about your blog. Thanks for sharing, keep updating.
    Java Project Center in Chennai | Java Project in Chromepet

  6. Post is very informative… It helped me with great information so I really believe you will do much better in the future.
    MSC Final Year Project Center in Chennai | BSC Training in Guindy

  7. Post is very informative… It helped me with great information so I really believe you will do much better in the future.
    PHP Final Year Project Center in Chennai | PHP Project in Chromepet

  8. I read this post two times, I like it so much, please try to keep posting & Let me introduce other material that may be good for our community.
    Android Final Year Project Center in Chennai | Android Project Center in Perungudi

  9. Really I enjoy this blog….. Very nice post… Thanks for sharing and keep updating..
    BE Final Year Project Center in Chennai | BE Project Center in Chromepet

  10. Really very great information to be provided and the All points discussed were worth reading and i’ll surely work with them all one by one.
    Best C and C++ Programming Training Academy in Kanchipuram

  11. Wonderful post. Thank you for updating such an informative content.

    Best Python Training Academy in Kanchipuram

  12. Your Blog is nice and informative..Thanks for sharing this valuable information with us..I am visiting this website regularly, this web site sharing nice thoughts

    Best MATLAB Training Academy in Kanchipuram

  13. Thanks for this grateful information. all this information is very important to all the users and can be used good at all this process.

    Best Web Designing Training Academy in Kanchipuram

  14. blood pressure watch professional in R&D wearable blood pressure monitor, in the innovative form of a wrist watch, proactively monitors your heart health by turning real-time heart data into heart.
    mason jar lids canning lids supplier. offer canning Lids in different style and size
    Cervical spine massager We aim to create a healthy lifestyle that assists every individual to de-stress, relax. unwind and streamline a pain-free life and at the same time feel and look amazing.
    sex machine for her Choose Sex Machine to Get Orgasm and Enjoy Life
    moving dildo Enjoy sexual life for both men and women
    neon light for roomNeon Signs Light Is One-of-a-Kind Activities Designed and Hosted by Expert Locals. All Experiences are Vetted for Quality.
    dog training collarsPets Supplier mall offers the ultimate pet shop experience. We have all the pet supplies, pet food, toys and accessories you and your pet needs at great prices. Find all the best pets suppliers coupons, promotion.
    novelty giftsDiscover the latest and most interesting gadgets at a bargain price
    Car decorationHere you will find the latest and most fashionable car accessories