Closed Thread Icon

Topic awaiting preservation: Free PHP / mod_rewrite on App Engine Pages that link to <a href="https://ozoneasylum.com/backlink?for=32294" title="Pages that link to Topic awaiting preservation: Free PHP / mod_rewrite on App Engine" rel="nofollow" >Topic awaiting preservation: Free PHP / mod_rewrite on App Engine\

 
Author Thread
argo_navis
Bipolar (III) Inmate

From:
Insane since: Apr 2008

posted posted 06-30-2011 05:49

App Engine is amazing. A high scalability server with a pseudo
Content Delivery Network - provided by Google, so it's fast anywhere in the world.

Problem is : it supports JSP, Python, and Go by default.

Solution is :
http://quercus.caucho.com/ to use PHP (on top of Java).
It's amazingly fast (faster than plain vanilla PHP), with a few restrictions.

Import the lib, add the servlet and mapping to your web.xml, you're good to go.

But what if you want mod_rewrite?

That :
http://code.google.com/p/urlrewritefilter/

You still will only have "GQL" instead of SQL (unless you write
your own MySQL/GQL binding, which shouldn't be too hard
but might go against App Engine terms of service), and no write
access to the file system (which, once again, can be circumvented
using a GQL interface) by default.

But for the rest, you can now combine Java and PHP on one of
the most powerful web servers available to the public, for free.

argo_navis
Bipolar (III) Inmate

From:
Insane since: Apr 2008

posted posted 07-02-2011 16:13

For completion : while I have yet to find a good "MySQL emulation" for App Engine, the other problem, file writes, is circumvented fairly easily using this http://code.google.com/p/gaevfs/

Enjoy.

« BackwardsOnwards »

Show Forum Drop Down Menu