google app enging for java 用來跑 PHP - Google

By Hardy
at 2009-04-15T00:34
at 2009-04-15T00:34
Table of Contents
原文網誌在:http://ppt.cc/u;5q
前幾天 google 發布了 google app engine 支援了 java 後,就有
聽說有人可以利用 Quercus 專案,來支援 PHP ,這是一個令人興奮
的消息啊。像我不太會寫 python 的人,有 PHP 的支援,更可以讓
更多的 web developer 快速上手。
幾天後,有一家公司的 blog 上發表了一篇「Run PHP on the Google
App Engine」,他們已經成功的在 app engine 上執行 php 了。
他所列的步驟如下:
1. Register a free account.
2. Download this file to your computer.
3. Edit application XML tag in the file war\WEB-INF\appengine-web.xml
to the name of the application you have registered.
4. Finally upload your application. I downloaded Google App Engine
SDK for Java and use the following command in windows.
但我在本地端測試的時候,因為少了一些 package 所以沒辦法在本
地端執行,你可以到 http://www.codehaus.org/ 下載 jetty packae
,並且解壓縮到 app-engine 的 lib 目錄,即可以使用 dev_appserver.sh
這個指令在本地端測試了。Depoy 到 google 的 GAE 上的話,就不
用這這個 package 了。
另外他沒有支援 Mysql 之類的關聯性資料庫,所以如果要 port 一
些跟資料庫相關的東西的話,應該要自行改寫其資料庫的部份。
ref:
[*] http://appengine.google.com
[*] http://www.caucho.com/resin-3.0/quercus/
[*] http://www.webdigi.co.uk/blog/
[*] http://www.webdigi.co.uk/blog/2009/run-php-on-the-google-app-engine/
[*] http://www.webdigi.co.uk/fun/php-appengine/phpwithjava.zip
[*] http://docs.codehaus.org/display/JETTY/Downloading+Jetty
--
Tags:
Google
All Comments

By Rachel
at 2009-04-17T12:30
at 2009-04-17T12:30

By Dora
at 2009-04-19T07:12
at 2009-04-19T07:12

By Oscar
at 2009-04-21T01:40
at 2009-04-21T01:40

By Linda
at 2009-04-24T11:58
at 2009-04-24T11:58

By Emma
at 2009-04-27T18:31
at 2009-04-27T18:31

By Yuri
at 2009-04-29T23:33
at 2009-04-29T23:33
Related Posts
G-mail又當了嗎

By Elma
at 2009-04-14T17:37
at 2009-04-14T17:37
GMAIL加聯絡人

By Odelette
at 2009-04-14T16:26
at 2009-04-14T16:26
gmail連不上,有版友一樣嗎?

By Genevieve
at 2009-04-14T02:03
at 2009-04-14T02:03
Gmail無法顯示圖片

By Puput
at 2009-04-13T19:38
at 2009-04-13T19:38
gmail不能附加檔案

By Christine
at 2009-04-13T19:33
at 2009-04-13T19:33