473,387 Members | 1,542 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

PHP & Tomcat

We are getting new computers at work and I got the word today that pc-lan
(network admins) do not want IIS installed on ANY machine. We are primarily
a Java development house, so they will not balk about me installing Tomcat.

Can I run PHP from Tomcat the same (or close to) as IIS?

Thanks.
--
SamMan
Rip it to reply

Jul 17 '05 #1
4 7390
SamMan wrote:

Hi Samman
We are getting new computers at work and I got the word today that pc-lan
(network admins) do not want IIS installed on ANY machine. We are
primarily a Java development house, so they will not balk about me
installing Tomcat.

Can I run PHP from Tomcat the same (or close to) as IIS?
Tomcat?
Tomcat is for Java.

Use APACHE instead.
It runs great and supports PHP.
Regards,
Erwin Moller

Thanks.


Jul 17 '05 #2
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?

Jul 17 '05 #3
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

Jul 17 '05 #4

"Daniel Tryba" <pa**********@invalid.tryba.nl> wrote in message
news:42*********************@news6.xs4all.nl...
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?


It's kind of a long story, but some static sites we support run an another
agencies server... with no Java, JSP (or even ASP) available. They pride
themselves on the open source end of things, but don't do it very well. To
cut the ties as much as we can (another long story), I converted many of
their cgi processing of forms to PHP processed. I currently use PHP under
IIS for basic testing of scripts (within Dreamweaver).

Thanks for the clarification of Tomcat & Apache.

--
SamMan
Rip it to reply

Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Erwan | last post by:
Hi, we have a big problem with our Apache / tomcat production server. Characteristics are : aapche : httpd-2.0.40-21.5 tomcat : these versions were tried without success :4.1.18, 4.1.27, 5.0.12...
4
by: Norm Dotti | last post by:
I'm using the AppDomain.CurrentDomain.GetAssemblies() method to obtain a list of currently loaded assemblies. This returns the expected assembly name and version values. However, if I make a...
2
by: Alfredo Magallón Arbizu | last post by:
Hello, I have an ASP.NET application that reads an Excel file through automation. The app has a loop until first cell of a row is blank. While the app works perfectly under Windows 2003, it...
1
by: citnamor | last post by:
Hello, I'm trying to access a webservice which runs on our SOAP Server (Apache Tomcat) with Windows 2000 Advanced Server. I simply added the webreference local copy of wsdl file into dotNet...
5
by: | last post by:
Hi, How long do webservice objects live for? In particular, if i have static variables filled with data from a static constructor in a webservice, how long will that data persist? thxs
4
by: David Lozzi | last post by:
Howdy, I'm using a WYSIWYG editor called TinyMCE. When I edit some text and then save it back to my SQL server using a SQLCommand, all HTML characters are changed to HTML code, i.e. &gt;strong&lt;...
1
by: Force Flow | last post by:
I'm trying to configure an apache 2.2 and tomcat 5.5 setup on Windows XP. I'm using mod_jk 1.2.25, which is working. I've also setup mod_rewrite, which is also working, but not with addresses that...
2
by: vikramb | last post by:
HI Iam working on a task in which i need to refresh the tomcat cache with out restarting it when there is any new entry in the properties file , My question is in the server.xml if...
13
by: SAL | last post by:
Hello, I'm trying to include a popup in the ItemTemplate of a gridview row. The ItemTemplate for the field contains a textbox and when the user clicks in the textbox I want a popup panel to show...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.