For anyone stumbling upon this question who doesn't know what Quercus is - it is an implementation of PHP done in Java.
For a project that I am currently working on we serve php pages via cgi over servlets (I know it is clunky, but it is a requirement to support legacy code). I was excited to discover the Quercus project because it look...
I followed this to setup PHP on the Google appengine and it works great. Any suggestions on how we can use a database / datastore with this on GAE?
...
Now we are going to use java class in my website developed with PHP + mySQL. I came to know Quercus and it worked well.
But only problem is encoding.
Quercus is providing ISO8859 encoding in default and all database in UTF-8 is not shown properly like ???.
If anybody know the way to set Quercus db connection encoding to UTF-8, please he...
I'm interested in running a PHP web application using Quercus in a way similar to:
java -classpath ... com.example.LaunchPHP {php folder}
All the documentation I could find on Quercus was related to running from Resin, but this is something I want as simple as possible, for running from a CI build.
What possibilities are there?
...
have someone used quercus to translate php into bytecode? if you got a big php application, will the translation be flawless? it sounds to me very impossible to just translate everything without error in code like that.
but they claim on their web page that mediawiki and other popular websites (joomla to i think) use it.
and my php cod...
i have downloaded the latest quercus 4.0.3 war-file from
http://quercus.caucho.com/
how do you install quercus in glassfish?
i followed this old tutorial for a old quercus version but it didnt work:
http://weblogs.java.net/blog/ludo/archive/2007/03/100_java_quercu.html
has someone successfully implemented quercus in glassfish and co...
if i write the comet push with php but use this code on a java server via quercus, will that solve the one process per request problem that apache had and scale well with lot of users using my chat?
...
Fatal Error: no matching class connection
index.php
<?php
import database.connection;
$connection = connection::get()->getPersistenceManager(); // ***ERROR HERE***
?>
connection.java
package database;
import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManagerFactory;
public final class connection {
private static fi...
I am trying to get the Quercus PHP engine to connect with the JavaDB. I have successfully deployed Quercus in Glassfish, but I can't get Quercus to successfully connect with my database in JavaDB. Can anyone point me to an article or tutorial that treats this subject?
...
The clever folks at Caucho are quick to point out that Quercus is 3x-5x faster than straight mod_php (without APC). But digging deeper in the documentation, you'll see that the PHP-to-bytecode compilation is only available in Resin Pro ($699).
What I'd like to know is, how fast (i.e. how slow) is Resin Open Source for executing PHP code...
Hey,
We're running Quercus on Glassfish to serve the odd PHP file.
I'm wondering if its possible to get PSpell/ASpell(?) spellchecker(s) working in Quercus?
It seems for normal PHP you need to compile it w/ PSpell so I'm not too sure how to go about this in Quercus ...
Any pointers greatly appreciated :P
...
I have the latest Wordpress running on Tomcat 6.0.26 virtual host with Quercus PHP servlet.
It works, except when I try to use perm links. A url such as /index.php/my-page-name doesn't seem to ever hit the PHP servlet . It gets a browser error that request resource is not available. It's like it isn't matching the servlet urlmapping.
...
Hi,
I am trying to run php on glassfish server using Quercus and i get the following error on top of my page
NetBeansProjects/WebApplication1/build/web/q2a/qa-include/qa-index.php:512: Notice: $count is an undefined variable NetBeansProjects/WebApplication1/build/web/q2a/qa-include/qa-index.php:556: Notice: $themeclass is an undefined...
I have Glassfish 3 server and have added Quercus 4.0.7 to to be able to run PHP applications on it. Everything works perfectly with it. Now I'm trying to run Question2Answer application on my server. I was able to open application but it's not allowing me to navigate from page to page because they are using .htaccess file to rewrite the ...
I was watching this video here, where Robert Nicholson discusses P8, an implementation of PHP on the JVM. At some point he mentions that they aim to surpass native PHP in performance some time in the future.
He mentions JRuby and Jython, which started out slower than their native counterparts, but eventually surpassed them. Quercus, an...
If so, why? (Or maybe the better question is 'when'?)
I've found some scattered comments, such as in this post, which seem to indicate that Quercus may actually offer some performance advantages over native PHP.
I am looking to use a Tomcat/Quercus configuration instead of an Apache/PHP one. (I need a Java servlet container and the alt...
Hi folks,
I'm using quercus for appengine. I tried saving a long php string (> 1000 characters) but appengine won't allow me as String can only hold 500 characters. So I tried using appengine's Text datatype. It lets me save, however, when I retrieve the data from PHP, it returns me a resource() type instead of string.
Let me explain w...