You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by mazin <ma...@vasnet.in> on 2003/05/14 10:03:45 UTC
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
Re: Apache+Php+Tomcat
Posted by mazin <ma...@vasnet.in>.
hi,
Done still php does not work for me.
Any help would be appreciated
Many thanks in advance.
Mazin
James (UTA) wrote:
>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
>
>
>
--
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
RE: Apache+Php+Tomcat
Posted by " James (UTA)" <j....@utanet.at>.
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