Can't find anything on this, what are the steps or instructions for installing PHP with Tomcat 7 on Windows?
migrated from stackoverflow.com May 13 '11 at 16:27
This question came from our site for professional and enthusiast programmers.
closed as off topic by Ben Hoffman May 24 '11 at 11:15
Questions on Webmasters Stack Exchange are expected to relate to webmastering within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.
Tomcat's specifically designed to run Java Servlets so using it for PHP isn't normal. You could try using Quercus http://www.caucho.com/resin-3.0/quercus/. It's built for the Resin server but should work for Tomcat (although I haven't ever tried it out myself). Alternatively, if you just want to run some PHP scripts from a Servlet, you could try out the PHP/Java Bridge http://php-java-bridge.sourceforge.net/pjb/.
A different approach that might work better could be to install Apache and use it as the web server for Tomcat instead of using it's own server. You could then run both Servlets and PHP from the same web server. The two wouldn't be able to communicate with each other directly but you might be better off using more indirect communication anyway.