Has anyone got php (as a servlet) stable with Tomcat?

2002-11-21 Thread ben f
Hi I'm having a bad time installing php as a servlet under tomcat. My tomcat install is fine. I have php-4.2.3 installed with tomcat-4.1.12 on WINNT. When I create a file that simple has "print 'hello, world';" it works twice and always fails on the third instance, generating an error dump as be

Re: tomcat configuration for a newbie

2002-11-07 Thread ben f
bapp that runs php as a servlet** If so, please supply version info. Thanks Ben Kwok Peng Tuck <[EMAIL PROTECTED]> wrote:Make sure your servlets are either in /WEB-INF/lib (if in a jar ) or /WEB-INF/classes/ (if as .class) ben f wrote: >Hari >Good point, I see that my url-pat

RE: tomcat configuration for a newbie

2002-11-07 Thread ben f
Hari Good point, I see that my url-pattern entry of phpserver was incorrect. I've changed this now to your recommendation of: helloworld /helloworld I then try http://localhost:8080/phpserver/servlet/helloworld but I still get a 404 error. Does anyone else have ideas about this? I have a feeling

tomcat configuration for a newbie

2002-11-06 Thread ben f
Hi I am trying to get tomcat to work but unfortunately I am not getting far. Tomcat version is 4.1.12 I have created a directory under webapps called phpserver. This directory is intended to serve php pages using php as a servlet from an NT 4.0 machine. I will go onto that once I have the bas

Tomcat and php

2002-11-06 Thread ben f
Hi I'm new to tomcat but not php. I'm trying to get tomcat to run php as a servlet on WINNT 4.0. Tomcat version 4.1.12 PHP version 4.2.3 I have amended my server.xml file to include an entry for a php servlet as below: I have added phpsrvlt.jar to my %TOMCAT_HOME%\webapps\php-server\WEB-IN