How to Build PHP application in Google App Engine

In this post i would like to explain about how to build PHP application in Google App Engine. In this PHP application used jquery mobile and CURL library to read the feeds and hosting for free using google app engine.

How to Build PHP application in Google App Engine | Anil Labs

How to Build PHP application in Google App Engine | Anil Labs


In my previous post i have explain about steps to implement and hosting your website in google app engine for free. Google App Engine Supports Python And Java. But we can implement PHP in google app engine. Here PHP is running on Java. I have implemented mobile version of anil labs.

 

Step1 : Download the Java and install in your system.

Step2 : Download Google App Engine SDK which supports Java from

http://code.google.com/appengine/downloads.html

Step3 : Download the application and unzip in your folder.

Mobile web app using with your rss feed and php

Step 4: We have to change the your application name at /war/appengine-web.xml

    <application>my-application-id</application>
    <!-- For PHP-Support -->
    <static-files>
    <exclude path="/**.php"></exclude>
    </static-files>
    <resource-files>
    <include path="/**.php"></include>
    </resource-files>

Step 5: With using command prompt we can deploy in your application into google server.

  1. Go to c:/appengine-java-sdk-1.5.5/bin/
  2. appcfg –enable_jar_splitting update ./war
How to Build PHP application in Google App Engine | Anil Labs

How to Build PHP application in Google App Engine | Anil Labs

Step 6: It will asking for google id and password. Provide the details and deploy the files into server.

 

Step 7: We have three screen in this application.

 

Screen 1: Home page of Application

 

How to Build PHP application in Google App Engine | Anil Labs

How to Build PHP application in Google App Engine | Anil Labs


 

Screen 2: List of posts ( RSS Reader ) with comments

 

How to Build PHP application in Google App Engine | Anil Labs

How to Build PHP application in Google App Engine | Anil Labs


 

Screen 3: Detailed of the post with original post link

 

How to Build PHP application in Google App Engine | Anil Labs

How to Build PHP application in Google App Engine | Anil Labs


Access the website at http://mobileanillabs.appspot.com/

Anil Kumar Panigrahi

With more than 10 years experience in PHP and Founder of Anil Labs, a blog for PHP and related posts. contributed posts regarding CodeIgniter, CakePHP and Learn PHP online

Contact : [email protected]

You may also like...

10 Responses

  1. Rajesh says:

    this one seems pretty perfect.. thanks for the awesome tutorial.. good work..

  2. Matt says:

    Great job, I really impressed. I never heard about the PHP application before, I just first time knowing about it,

  3. Sandeep says:

    Its seems like file extensions are php but not the code in those files

  4. @Sandeep , Not only extension and we can build the php code too….

  5. saudalam says:

    i think quecerus is a good lternative for using php on appengine

  6. Gildus says:

    Why we cant see code PHP ?.

  7. Thanks for sharing your thoughts about width=device-width.
    Regards

  8. You should take part in a contest for one of the finest blogs online.
    I’m going to recommend this web site!

  1. October 24, 2011

    How to Build PHP application in Google App Engine…

    In this post i would like to explain about how to build PHP application in Google App Engine. In this PHP application used jquery mobile and CURL library to read the feeds and hosting for free using google app engine….

Leave a Reply

Your email address will not be published. Required fields are marked *