>Hi, >Check out http://wiki.apache.org/jakarta-tomcat/Tomcat/UsingPhp. > >Yoav Shapira >Millennium Research Informatics
I did what this page shows. http://wiki.apache.org/jakarta-tomcat/UsingPhp and this one too: http://www.php.net/java But it doesn't work. It's like PHP wasn't interpretted by the server. All my log files are empty (php and tomcat log files). Should I change something in my php.ini file ? I don't know what to do now ! >> 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 CNRS - IGS 31 chemin Joseph Aiguier 13402 Marseille cedex 20, FRANCE tel. +33 (0)4 91 16 44 55 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]