473,765 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 7407
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************ *************** *************** @spamyourself.c om> 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**********@i nvalid.tryba.nl > wrote:
Erwin Moller <si************ *************** *************** @spamyourself.c om>
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 "alternatin g 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**********@i nvalid.tryba.nl > wrote in message
news:42******** *************@n ews6.xs4all.nl. ..
Erwin Moller
<si************ *************** *************** @spamyourself.c om> 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
1870
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 connector : mod_jk-2.0.40.so problem : the apache server hangs after a few hours.
4
2447
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 webservice call and then call AppDomain.CurrentDomain.GetAssemblies() it returns an additional assembly name, with gibberish values such as "udmsmlb1", "janolvnq", etc. and always a version number "0.0.0.0".
2
1563
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 fails under Windows 200 (Bad Variable Type, Interop.COMException) Same versions of Office (XP) on both machines.
1
2925
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 Application using dotNet's "Add Web Reference" option. I am trying to execute a function using pieces of code as follows; ---------------------------------- WebReference.MyService kkAPI = new WebReference.MyService();
5
6279
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
3033
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; instead of <strong> and so on. Is this a problem with the editor or something else? Does .Net convert it? I had to disable page validate request because of the tags, is there more? Thanks,
1
3740
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 are located within a tomcat webapp. Here's what I have configured in my httpd.conf (I'm not sure if this is at all the correct way to do it since I'm new at this and many of the articles out there give contradicting information. So, the...
2
12112
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 we add <context path = /.... reloadable = true> , i think this will reload the app only if there is any change in java files In the work folder if there is any timestamp difference between .jsp and .class it will recompile how to deal...
13
3516
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 allowing the user to make a selection from the popup window. I have enabled AJAX extensions and have a working sample outside of a gridview. However, when I click in the textbox of a gridview row, all I see is a really small square instead of the...
0
9568
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9398
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10156
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9832
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5275
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5419
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.