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

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: servlet-namehelloworld/servlet-name url-pattern/helloworld/url-pattern I then try http://localhost:8080/phpserver/servlet/helloworld but I still get a 404 error. Does

Re: tomcat configuration for a newbie

2002-11-07 Thread ben f
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-pattern entry of phpserver

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: Context path=/phpserver docBase=php-server debug=99 reloadable=true / I

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