tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " James \(UTA\)" <j.ter...@utanet.at>
Subject RE: Apache+Php+Tomcat
Date Wed, 14 May 2003 09:41:51 GMT
Mazin,

For apache 1.3.x you will use the following lines in your Apache config
file:
	LoadModule php4_module libexec/php4apache.dll
	AddModule mod_php4.c
	AddType application/x-httpd-php .php


my two cents worth

this works for me...

also have a look at http://www.johnturner.com/howto/apache-tomcat-howto.html
it helped me a lot.


-----Original Message-----
From: mazin [mailto:mazin@vasnet.in]
Sent: Mittwoch, 14. Mai 2003 10:04
To: tomcat-user@jakarta.apache.org
Subject: Apache+Php+Tomcat


Hi,

I have been using jakarta-tomcat-3.3.1 with apache_1.3.22 and php-4.1.2
Am i am using mod_jk as the adapter from past 8 months and i am facing
problem with configuring apache+tomcat+php

My httpd.conf looks like

LoadModule php4_module        libexec/libphp4.so
........
Include /usr/local/apache/htdocs/tomcat/conf/auto/mod_jk.conf

And auto/mod_jk.conf looks like
<IfModule !mod_jk.c>
    LoadModule jk_module libexec/mod_jk.so
</IfModule>

When i comment Include tag of tomcat  in htttp.conf,
then php works fine.
But when i uncomment the php does not work, it shows the code on the
browser.

Due to this i facing lots of problem.
Any help would be appriciated.

Thanks in Advance


--
Mazin Mohammed              Vasnet Communication Pvt. Ltd
System Administrator        www.vasnet.co.in
0824-451001
mazin@vasnet.in



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message