Hi, Check out http://wiki.apache.org/jakarta-tomcat/Tomcat/UsingPhp.
Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Sebastien Moretti [mailto:[EMAIL PROTECTED] >Sent: Friday, July 23, 2004 6:18 AM >To: [EMAIL PROTECTED] >Subject: [How to use php files Tomcat 5 application] > >Hello >I use Tomcat 5.0.25 and I try to see one of my PHP file, file.php, through >tomcat server. >A message ask me to download my file file.php; I cannot open it in my >browser >through tomcat server while I can easily do this through apache2 server. > >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 > <mime-mapping> > <extension>php</extension> > <mime-type>application/x-httpd-php</mime-type> > </mime-mapping> > <mime-mapping> > <extension>php5</extension> > <mime-type>application/x-httpd-php</mime-type> > </mime-mapping> > <mime-mapping> > <extension>php4</extension> > <mime-type>application/x-httpd-php</mime-type> > </mime-mapping> > <mime-mapping> > <extension>php3</extension> > <mime-type>application/x-httpd-php</mime-type> > </mime-mapping> > >and put libphp4.so and phpsrvlt.jar in $CATALINA_HOME/common/lib/ > >But it doesn't work. >What can I do now ? > >Thanks > >-- >Sebastien MORETTI >Linux User - #327894 > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
