Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can't find anything on this, what are the steps or instructions for installing PHP with Tomcat 7 on Windows?

share|improve this question

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.

superuser.com – stecb May 13 '11 at 14:52
Is there a reason why you want to use Tomcat? IIS7+ allows for PHP to run natively. – Ben Hoffman May 13 '11 at 16:58

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.

share|improve this answer