Thank you--no plans to run PHP right now, actually I'd rather avoid
it. But it's on my list of "might do something useful at some point".
Lloyd Chambers
http://diglloyd.com
[Mac OS X 10.5.2 Intel, Tomcat 6.0.16]
On Mar 24, 2008, at 8:00 AM, Pid wrote:
DIGLLOYD INC wrote:
I don't know the answer, but how does one use PHP with Tomcat?
(Thanks, if you have time for a pointer, I hadn't see docs on this).
You know that every time an admin configures PHP on Tomcat a Java
developer dies somewhere, right?</joke>
There are a couple of ways; configure PHP as CGI or via a proxy
Servlet.
There's a couple of projects that support this, though I'd suggest
that if you need PHP support as well as JSP/Servlet, the best
solution is a combo of Apache HTTP + Tomcat (mod_jk/mod_proxy_ajp) +
PHP.
To the OP: you didn't specify your tomcat, java, or OS versions,
which is traditional in this forum.
You should check the following things:
* The tomcat/lib (or tomcat/[server|shared|common]/lib depending on
your version) contain the right jar files in both installs.
* The catalina.out and other log files may be giving you information
during startup which could indicate why the PHP servlet isn't
starting up.
p
On Mar 24, 2008, at 7:23 AM, Jonathan Mast wrote:
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]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]