From: Jim D. <jd...@ho...> - 2005-10-08 17:11:43
|
Jost, When I tried this cp /usr/bin/php . chmod +x php in the $CATALINA_HOME/webapps/JavaBridge/WEB-INF/cgi/ folder, so I could use my version of PHP I get a blank page returned? Jim >From: Jost Boekemeier <jos...@ya...> >To: Jim Douglas <jd...@ho...>, >php...@li... >Subject: Ant: RE: Ant: [Php-java-bridge-users] JavaBridge.war >Date: Tue, 4 Oct 2005 18:22:29 +0200 (CEST) > >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 |