|
From: <php...@li...> - 2009-04-28 12:01:54
|
You need to install PHP. Please check the ubuntu documentation for details. The missing program belongs to the php core. If there is no php available for you distribution, you must compile php from the source. Please see the install instructions on php.net for details. Regards, Jost Boekemeier Apr 28, 2009 1:51 nachm. schrieb am < php...@li...>: Hello there, Following problem: I run the php java bridge successfully as standalone under Win XP and Vista. For that I extracted the jars from downloaded "JavaBridgeTemplate5442.war". So i have - JavaBridge.jar - php-script.jar - php-servlet.jar - myown.jar The classes of "myown.jar" use the classes of the bridge. My aim is to run that on ubuntu 8_10 but i sadly receive following exception: javax.script.ScriptException: java.io.IOException: Cannot run program "php-cgi": java.io.IOException: error=2, No such file or directory at php.java.script.PhpScriptEngine.eval(PhpScriptEngine.java:112) at php.java.script.SimplePhpScriptEngine.eval(SimplePhpScriptEngine.java:299) at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247) at de.labtrax.affiliatewindow.service.impl.AffiliateServiceImpl.main(AffiliateServiceImpl.java:51) Caused by: java.io.IOException: Cannot run program "php-cgi": java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at java.lang.Runtime.exec(Runtime.java:593) at php.java.bridge.Util$Process.start(Util.java:972) at php.java.bridge.Util$ProcessWithErrorHandler.start(Util.java:1074) at php.java.bridge.Util$ProcessWithErrorHandler.start(Util.java:1129) at php.java.script.CGIRunner.doRun(CGIRunner.java:125) at php.java.script.HttpProxy.doRun(HttpProxy.java:79) at php.java.script.CGIRunner.run(CGIRunner.java:110) Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 7 more I got the same problem on vista but solved it easily with just installing php. On my ubuntu php5 is installed per synaptic and php works in apache in and as cli. Any clues how i get this working on ubuntu? Thank you Malte -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01 -- Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |