I've got Jakarta-Tomcat 4.0.4 running on a Windows 2000 box and would now like to add PHP functionality... I've got php running (command-line style) but would like it accessible via my web server...

any idea what I need to download or which files I need to edit to get this working?

I've searched the docs and all of 'em refer to an httpd.conf file which isn't in the Jakarta-Tomcat release.

Any help would be greatly appreciated...

    Alright I found the answer myself, if anyone's interested 🙂

    To get both PHP and JSP functionality you will need to install Apache (or some other web server) in addition to Tomcat.

    1. Install Web Server (eg. Apache)
    2. Install PHP
    3. Configure Web Server to handle PHP pages
    4. Install JSP Container (Tomcat)
    5. Configure Web Server to send JSP Pages to Tomcat
      (see: http://www.acg-gmbh.de/mod_jk/)

    Warning... only do this if you have a lot of time!!!

    Hope this helps someone 🙂

      Write a Reply...