14 Apr 2009

AppEngine Java php

Did you know that you can now run PHP on Google App Engine? No, Google hasn't officially added support for PHP yet but they did just add Java support and there's an implementation of PHP in Java called Quercus. Put two and two together and, voilĂ , you can write PHP apps on Google App Engine. Pretty sweet.

I haven't tried it out myself (and I may never do since I am absolutely in love with Python) but Moriyoshi Koizumi reported that he got it all working using a patched version of Quercus that he calls quercus-gae.

So will this keep PHP developers happy until Google implements PHP support officially? You tell me! Leave a comment below and let us all know whether Quercus-gae worked for you and what gotchas, if any, there are to watch out for. Enjoy!

Thanks go to Roshan Abraham who alerted me to this via email today.

Add Your Comment

Spam Protection by WP-SpamFree

How to run PHP on Google App Engine

  1. Awesome – thanks for the pointer. I wonder what the performance hit is?

    When Google do release PHP natively for the App Engine, it’s going to open the floodgates in a serious way. It’ll be interesting to see if/when they do it.

    Ben Werdmuller
  2. Quercus offers some really rad stuff and adaptations to PHP as well (if you want it to). I think I saw something a while back that allowed you to use PHP in a truly object-oriented fashion with type-safety and everything…

    TK
  3. Don’t know if PHP on GAE is a good idea. We need more people programming in Python.

    Dimitry Z
  4. This is cool Aral.Love it.There are 2 things for me here, first PHP on JAVA and then PHP on GAE.
    Keep up the good work.

    saumya
  5. My heart just skipped a beat… Why on earth would you want to use PHP when you can use Python??

    WeZzy
  6. I think people want to use PHP because of the possibility of running killer PHP apps on GAE. We’re just waiting until someone adapts an app like Wordpress to GAE…

    diablonhn