Feeling inspired from getting PHP to work on the Google App Engine, I decided to try to see if I can get the Kohana MVC framework to run on top GAE as well. The process is pretty simple: just copy the framework files to the project’s ‘war’ folder.
I tried to install the latest version which at the time of this writing was 22.214.171.124. As it turned out, the latest version of Kohana requires PHP 5.2.3 or newer, but the version that Quercus PHP ships with is 5.2.0. Another issue seems to be that the Quercus PHP does not have Filters enabled.
I then removed the install.php file and got a “Fatal Error: ‘Kohana’ is an unknown class.” After looking around a bit, it started to dawn on me that there might be a naming conflict. Seems like some part of the Java system is assuming that the next part of the path ‘system/classes/’ should be a class. Unfortunately, Kohana is trying to call system/classes/kohana/core.php
The next step was to try to run Kohana 2.3.4 because that version has a different file structure – no folders called ‘classes’
Sadly, the situation did not improve. Although the install.php was happy with the version of PHP, when I tried to run index.php I got this:
com.caucho.quercus.QuercusException: com.caucho.quercus.QuercusException: com.caucho.quercus.lib.reflection.ReflectionMethod.isPrivate: `isPrivate()’ has not been implemented.
So…I guess Quercus PHP is not quite there yet as far as Kohana is concerned.