Can a single Apache server handle both Tomcat and PHP?

后端 未结 4 794
滥情空心
滥情空心 2021-02-04 15:26

I have a requirement as to have a single server with both a Java application and a PHP application, running on the same Apache. Is this possible?

This question may be ve

4条回答
  •  遇见更好的自我
    2021-02-04 15:44

    Can a sinle apache server handle both tomcat and php?

    Yes, you need both apache and tomcat installed, but you can configure apache to redirect (transparently for the user) all JSP requests to tomcat using AJP protocol.

    See more here: http://www.datadisk.co.uk/html_docs/java_app/tomcat6/tomcat6_apache_server.htm

提交回复
热议问题