almost impossible to diagnose without looking at your configuration files
do you have these contents in /WEB-INF/web.xml?

 <servlet-name>php</servlet-name>
                <servlet-class>net.php.servlet</servlet-class>
        </servlet>
        <servlet-mapping>
                <servlet-name>php</servlet-name>
                <url-pattern>*.php</url-pattern>
        </servlet-mapping>

did you update servlet.properties and reflect.properties
library=phpsrvlt to library=php5servlet and
save servlet.properties
save reflect.properties
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)
http://localhost:8080/fun/test.php

?
M-
----- Original Message -----
From: "Jonathan Mast" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
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
not
> available.*
>
>
> Environment:
> Windows XP
> Tomcat 5.5.17
>
>
> thanks
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to