
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PHP, Web and IT stuff &#187; quercus</title>
	<atom:link href="http://www.webdigi.co.uk/blog/tag/quercus/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webdigi.co.uk/blog</link>
	<description>Little words of wisdom</description>
	<lastBuildDate>Sat, 04 Sep 2010 22:35:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Run PHP on the Google App Engine</title>
		<link>http://www.webdigi.co.uk/blog/2009/run-php-on-the-google-app-engine/</link>
		<comments>http://www.webdigi.co.uk/blog/2009/run-php-on-the-google-app-engine/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 22:25:26 +0000</pubDate>
		<dc:creator>php-manual</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[appengine]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[quercus]]></category>

		<guid isPermaLink="false">http://www.webdigi.co.uk/blog/?p=313</guid>
		<description><![CDATA[
Google launched their Google App Engine (GAE) a year ago. The free hosting in App Engine is allocated 500 MB of persistent storage and enough CPU and bandwidth for about 5 million page views a month. Also, if you really want more you can see pricing plans.
GAE will support Java going forward. Unfortunately PHP support on the App [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-659" title="Google Appengine Running PHP" src="http://www.webdigi.co.uk/blog/wp-content/uploads/2009/04/appengine-java-php.jpg" alt="Google Appengine Running PHP" width="640" height="417" /></p>
<p>Google launched their <a rel="nofollow" href="http://code.google.com/appengine/">Google App Engine</a> (GAE) a year ago. The <strong>free</strong> hosting in App Engine is allocated <strong>500 MB</strong> of persistent storage and enough CPU and bandwidth for about <strong>5 million page views</strong> a month. Also, if you really want more you can see <a rel="nofollow" href="http://code.google.com/appengine/kb/billing.html#freequota">pricing plans</a>.</p>
<p>GAE will support <a rel="nofollow" href="http://googleappengine.blogspot.com/2009/04/seriously-this-time-new-language-on-app.html">Java going forward</a>. Unfortunately <a rel="nofollow" href="http://code.google.com/p/googleappengine/issues/list">PHP support on the App Engine</a> is still left as the top item in the wishlist. So until Google announces their official PHP support we have a workaround to run PHP using <a rel="nofollow" href="http://www.caucho.com/resin-3.0/quercus/">Quercus</a>. Quercus is basically a 100% Java implementation of the PHP language (requires JDK 1.5).  Since the App Engine now supports Java this means we can use Quercus to run PHP scripts on the App Engine.</p>
<p><span style="text-decoration: underline;">So all you need to use the GAE and run PHP</span><br />
1) Register a <a rel="nofollow" href="http://appengine.google.com/">free account</a>.<br />
2) <a href="http://www.webdigi.co.uk/fun/php-appengine/phpwithjava.zip">Download this file</a> to your computer.<br />
3) Edit application XML tag in the file war\WEB-INF\appengine-web.xml to the name of the application you have registered.<br />
4) Finally <a href="http://code.google.com/appengine/docs/java/gettingstarted/uploading.html">upload your application</a>. I downloaded Google App Engine <strong>SDK for Java</strong> and use the following command in windows.<br />
appcfg.cmd update C:\projects\phpwithjava\war</p>
<p>To see this in action just visit:<br />
<a href="http://phpwithjava.appspot.com/webdigi.php">http://phpwithjava.appspot.com/webdigi.php</a> and <a href="http://phpwithjava.appspot.com/info.php">http://phpwithjava.appspot.com/info.php</a></p>
<p>NOTE: phpwithjava is my app name with GAE. Image by Aral Balkan.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdigi.co.uk/blog/2009/run-php-on-the-google-app-engine/feed/</wfw:commentRss>
		<slash:comments>78</slash:comments>
		</item>
	</channel>
</rss>
