On 4/15/05 3:23 AM, in article 42*********************@news6.xs4all.nl,
"Daniel Tryba" <pa**********@invalid.tryba.nl> wrote:
Erwin Moller <si******************************************@spam yourself.com>
wrote: Can I run PHP from Tomcat the same (or close to) as IIS?
Tomcat?
Tomcat is for Java.
Use APACHE instead.
But tomcat is an Apache project.
It runs great and supports PHP.
Normal procedure would be to install:
-Apache httpd
-Apache tomcat
-php
-mod-jk for apache
Guessing that since it's a java shop they will do things in Java... But
why use PHP if you tomcat available?
I'm of the opinion that PHP and Tomcat can make a good combination. Tomcat
can be set up to run PHP as a servlet, and PHP has some Java support (the
hype far exceeds the reality in this case, but it's still a Good Thing in my
book)
In keeping with the principle of "alternating hard and soft layers" (see
http://c2.com/cgi/wiki?AlternateHardAndSoftLayers ) I think that PHP makes a
wonderful replacement for JSP. You can do all your hard-core component
building in Java (with a small number of highly-paid developers), and keep
the visible layer in PHP, (with as many moderately paid developers as you
like) assembling those components.
Teaching production people how to use objects is a lot easier than training
people to build objects. This is the same idea as Java/JSP (embedding Java
in HTML pages) except that you get to use the highly-popular language PHP
and the correspondingly large developer pool, as well as gaining access to
all the already-developed software for PHP.
Personally, I think PHP in combination with Java is a sweet setup. I just
wish that the "native Java support" that PHP has been claiming since 2001
would materialize.
Just my opinion,
Steve