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/

  1. Matt

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

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>