[ciapug] Apache Tomcat

carl-olsen at mchsi.com carl-olsen at mchsi.com
Fri Mar 9 14:10:56 CST 2007


I'm sure it will work, after reading this:

http://tomcat.apache.org/faq/connectors.html

It says Tomcat will run PHP (but difficult to install and configure), or you can have Apache proxy to Tomcat when you need JSP.  Either way will work, but neither way is as simple as running only Apache and PHP.  Apache is a lot more common than Tomcat, so the software is easier to use and modify.

I'll probably go with the Apache front end and proxy to Tomcat.  That's probably going to give me the least amount of down time.

Thanks for the help!

 -------------- Original message ----------------------
From: "Daniel A. Ramaley" <daniel.ramaley at DRAKE.EDU>
> Will this work?
>     http://wiki.apache.org/tomcat/UsingPhp
> It looks like a tutorial to do what you want. I've not tested it myself; 
> it was the first hit on Google when searching for "tomcat php".
> 
> If it doesn't work, it should be possible to run Apache with PHP as a 
> front-end server but proxy requests for certain directories to Tomcat 
> which would be running locally on a different port.
> 
> On Friday 09 March 2007 13:37, carl-olsen at mchsi.com wrote:
> >I'm thinking about installing a web server on my Linux box to run JSP
> > pages.  I'm wondering if PHP will run on Tomcat.  I'm running Apache
> > 2, JBoss and Sun's webserver on my Windows XP machine, but Apache is
> > theonly web server I've used with Linux.  I did install NetBeans on
> > my Linux machine and I think it includes JBoss (but only as a
> > development web server).  I could run Tomcat on a different port, but
> > I don't want to do that if I can use PHP with it.  If I can use PHP,
> > I'd just replace Apache with Tomcat.  I've also seen something called
> > Geronimo that I think is being used in some large production
> > environments.  If any of these web servers will run PHP and JSP, I'd
> > try it. _______________________________________________
> >ciapug mailing list
> >ciapug at cialug.org
> >http://cialug.org/mailman/listinfo/ciapug
> 
> -- 
> ------------------------------------------------------------------------
> Dan Ramaley                            Dial Center 118, Drake University
> Network Programmer/Analyst             2407 Carpenter Ave
> +1 515 271-4540                        Des Moines IA 50311 USA
> _______________________________________________
> ciapug mailing list
> ciapug at cialug.org
> http://cialug.org/mailman/listinfo/ciapug




More information about the ciapug mailing list