tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <>
Subject Re: PHP problem
Date Mon, 24 Mar 2008 19:46:34 GMT
almost impossible to diagnose without looking at your configuration files
do you have these contents in /WEB-INF/web.xml?


did you update and
library=phpsrvlt to library=php5servlet and
This indicates the file name of the dll file which is loaded by the Java
application to serve the requests.
In my version the name of the dll was php5servlet.dll.

did you test at command line
contents of foo.php
<?php phpinfo(); ?>
CmdLinePrompt>php foo.php

and then try restarting TC (with the new libraries via JAVA)

----- Original Message -----
From: "Jonathan Mast" <>
To: "Tomcat Users List" <>
Sent: Monday, March 24, 2008 9:23 AM
Subject: PHP problem

> Can someone tell me why one project that uses PHP will work in tomcat, but
> another that also uses PHP won't?
> They have idential web.xml files, so that avenue is closed.  I keep on
> getting the following message when I try to load one of the pages:
> HTTP Status 404 - Servlet php is not available
> ------------------------------
> *type* Status report
> *message* *Servlet php is not available*
> *description* *The requested resource (Servlet php is not available) is
> available.*
> Environment:
> Windows XP
> Tomcat 5.5.17
> thanks

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message