From: Jost B. <jos...@ya...> - 2005-10-04 16:22:43
|
Hi, > files. The only problem is it says it is version > 5.0.4. I have version PHP 5.0.5 installed... Well, you have php 5.0.4 installed from RPM (in /usr/) and this is what the bridge uses. Everything you've installed in /usr/local/ is ignored intentionally unless you install *all* components (apache, mod_jk, tomcat, php and the php/java bridge) into this directory and remove the default (system-) components. But you can copy your version of php to the $CATALINA_HOME/webapps/JavaBridge/WEB-INF/cgi/ folder, please see the README in that folder for details. > One more issue I have is trying to get these PHP > pages served up from my > deployed STRUTS app. Do I need to copy the deployed > files from the > JavaBridge.war deployment directories into my > deployed app directories? The PHP/Java Bridge needs the JavaBridge.jar in the WEB-INF/lib/ folder and the PhpJavaServlet in the WEB-INF/classes folder. It also needs the servlet mapping from the web.xml merged into your web.xml. I am currently creating a demo .ear which uses JSF (struts) and the php/java bridge. I think I will have more information this weekend. Please see PR1309610 (http://sourceforge.net/tracker/index.php?func=detail&aid=1309610&group_id=117793&atid=679233) Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |