From: Jost B. <jos...@ya...> - 2005-11-22 17:59:45
|
Hi Christoper, > I can't seem to get anything out of > HelloWorld2.class and HelloWorld.php. Which exceptions do you get? I've just tested it on SF, and it worked, at least HelloWorld.php, HelloWorld2 is difficult to test here. > engine.eval(new URLReader(new > URL("http://217.XX.XX.XX:80/test/demo/HelloWorld.php"))); > > The class is supposed to access Apache, right ? It accesses a web server[1] which should be able to run php scripts. The web server must be on the same machine, though, it isn't a good idea to allow users to allocate and call php instances from remote servers. In the current snapshot you can set System.setProperty("php.java.bridge.promiscuous", "true") to allow this. Regards, Jost Boekemeier [1} i.e. Apache/IIS running php as a module or a Tomcat or a java AS running PHP as a FastCGI or CGI binary. ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |