[How to use php files in Tomcat 5]

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • moretti

    [How to use php files in Tomcat 5]

    Hello
    I try to see my PHP files through tomcat.
    Tomcat 5.0.25 (from binaries)
    PHP 4.3.3 (from RPMs)
    Linux Suse 9.0

    A message asks me to download my PHP file; I cannot open it in my browser
    through tomcat server while I can easily do this through apache2 server.
    It 's like PHP wasn't interpretted by tomcat.

    I added this in $CATALINA_HOME/conf/web.xml:
    <welcome-file>index.php</welcome-file>
    <welcome-file>index.php5 </welcome-file>
    <welcome-file>index.php4 </welcome-file>
    <welcome-file>index.php3 </welcome-file>

    and followed the advices from:
    PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.



    But it doesn't work.
    What can I do now ?

    Thanks

    ----------
    Sebastien Moretti
Working...