DeveloperSide.NET Forums

DeveloperSide.NET => Anything else goes here => Topic started by: WBragg on March 02, 2007, 07:49:24 PM

Title: PHP + MySQL + Apache + Tomcat
Post by: WBragg on March 02, 2007, 07:49:24 PM
I have read for hours on the subject but can't quite get a handle on it.

My Configuration:
Windows XP Pro Web[Developer] Server Suite 1.94
standard installation
ASP,MYSQL,PHP (not cgi) and Tomcat5
All are working fine.

I want the final configuration to allow PHP, JSP and MYSQL, (forget about ASP for now, but eventually it also), to all be used in the application or page at the same time. I understand both Apache or Tomcat can handle the PHP and MYSQL.
For my purposes, because of previously written applications I would like to have Apache handle both PHP and MYSQL and pass the jsp on to Tomcat.
I am failing to grasp exactly what I need to do to this setup to make that work.

Specifically for the PHP part

<VirtualHost *:80>
     DocumentRoot /www/webapps/ROOT
     SetEnvIf Request_URI \.php no-jk
     SetEnvIf Request_URI \.cgi no-jk
     JkMount /* ajp13worker1

What else am I going to have to do if I take this approach?
Is this the best approach?
Is there a simple way to reconfigure what I have?

Thanks in advance for any suggestions.