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

1
2
3
4
5
6
7
8
    <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/


10 Comments

Rajesh · November 2, 2011 at 7:12 am

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

Matt · November 3, 2011 at 4:49 am

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

Sandeep · December 19, 2011 at 7:06 am

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

Anil Kumar Panigrahi · December 20, 2011 at 4:34 pm

@Sandeep, Not only extension and we can build the PHP code too…

saudalam · January 8, 2012 at 11:39 am

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

Gildus · October 16, 2012 at 10:54 pm

Why we cant see code PHP ?.

หวยหุ้น · November 21, 2013 at 6:41 am

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

website hosting free trial · November 27, 2013 at 12:43 am

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

abcphp.com · October 24, 2011 at 8:42 am

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

Avatar placeholder

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