PHP with Tomcat

4 Antworten

  1. Andrew Pate sagt:

    Hi, Got JavaBridge working fine on my laptop, but when moving to Raspberry Pi it needs the php-cgi put in the WEB-APP/cgi/arm-linux folder. I copied one across from another Pi running php – but could not get it working.

    My motivation is to run PHP on my Raspberry PI that is already serving servlets through Apache Tomcat, so allocation of the limited memory is all done through Tomcat.

    • Wow, interesting idea. I have never tried JavaBridge on my Pi, because Tomcat uses a lot of memory! Sounds as if it works 😉 Do you have no memory problems after some days? I discovered many memory issues with Java applications on my server so I moved completely away from Java.

      To answer your question…do you have any additional information? I think it would be a good idea to check your logs for PHP error messages. I never ran into this issue. Isn’t it possible to install php-cgi with your packet manager?

  2. Jatin sagt:

    Hi, It is a very good post. I have something similar problem.

    I have a dashboard application written in PHP which now runs on a Apache HTTP web server. Thia application shows charts. I have another web application (JSP,Servlet) which runs on a Tomcat server. Now if I want to embed the pages of the dashboard application in the 2nd application which runs in Tomcat, what should be the correct way to do that?

    I am thinking about the below two approaches –

    1 – Run the two applications on two different servers as they are running now. Embed the page of the page of the dashboard app by using it’s url.

    2 – Shift the PHP application from Apache to Tomcat and then internally do some tweaking so that it can be embedded to the JSP pages.

  3. Don sagt:

    Hola! I’ve been reading your website for a while now and finally got the bravery
    to go ahead and give you a shout out from Austin
    Texas! Just wanted to say keep up the fantastic work!

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert