php as servlet
| From: | Bård Farstad | Date: | Fri, 18 Aug 2000 12:32:18 +0000 |
| Subject: | php as servlet | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-12466@lists.php.net to get a copy of this message | ||
I'm trying to install php as a servlet under tomcat to use the ext/php.
everything is compiled and installed, but I can't get it to work.
Questions:
in /etc/httpd/httpd.conf : am I supposed to load the php module here?
( As with standard apxs )
Tomcat servlets works fine, but it does not work with php files..
I get the following error:
-------------------------
Error: 500
Location: /examples/php/jinfo.php
Internal Servlet Error:
java.lang.UnsatisfiedLinkError: send
at net.php.servlet.service(servlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled
Code)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java,
Compiled Code)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java,
Compiled Code)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java,
Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
-------------------------
--bård