How to configure php with tomcat 6.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prafullgs
    New Member
    • Feb 2008
    • 1

    How to configure php with tomcat 6.0

    Hello,

    I am running jsp from tomcat 6.0 , now i also want to run PHP from the same tomcat server.
    Is it possible for me to run both from the same tomcat server?? if yes
    Then could anyone please suggest me as to which version of PHP can be run with tomcat 6.0 and how to configure php on it.

    Thanks,

    Prafull
  • realin
    Contributor
    • Feb 2007
    • 254

    #2
    PHP cannot be run on tomcat server..
    THere may be some workaround, but straight way it doesn't

    The same company i.e. Apache foundation has apache server which is capable of compiling PHP scripts..

    But you can run both servers in same machine at the same time. Tomcat by default uses port 8080 where as Apache core uses 80 port to listen requests.. Accessing database from both shouldn't be an issue..

    I use both of them simultaneously with no issues .. :D

    Comment

    Working...