|
From: <php...@li...> - 2008-03-12 16:17:59
|
I have apache HTTPD sever that serve static HTML and PHP.
I have Tomcat that serve Servlet Request (Java Application).
Apache talks to Tomcat through JK Connector.
I want to share Java session in PHP code.
I have RH Linux OS.
How should I set up my JavaBridge. What document do I need to refere from INSTALL.J2EE, INSTALL.J2SE, INSTALL.LINUX, JAVA.STANDALONE, and MONO.STANDALONE.
Please help me.
Thanks
Nimesh
---------------------------------
Forgot the famous last words? Access your message archive online. Click here.
|
|
From: <php...@li...> - 2008-03-12 17:48:45
|
Hi,
> I have apache HTTPD sever that serve static HTML and PHP.
> I have Tomcat that serve Servlet Request (Java Application).
=> INSTALL.J2EE
> Apache talks to Tomcat through JK Connector.
Either remove mod_php or remove mod_jk. You cannot have both.
Regards,
Jost Boekemeier
Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
http://de.yahoo.com/set
|
|
From: <php...@li...> - 2008-03-13 15:29:01
|
How do I find out if I have mode_php or not? In my apache's httpd.conf file I found only the following reference about PHP:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
My hosting provider's control mentioned following applications installed:
jre Java(TM) 2 Runtime Environment for CentOs 4 (for AMD64/Intel EM64T) EZ Template jsdk Java 2 SDK for CentOs 4 (for AMD64/Intel EM64T) EZ Template mod_perl Mod_perl for CentOs 4 (for AMD64/Intel EM64T) EZ Template mod_ssl Mod_ssl for CentOs 4 (for AMD64/Intel EM64T) template php PHP for CentOs 4 (for AMD64/Intel EM64T) EZ Template plesk8 plesk8 for centos-4-x86_64 Virtuozzo template plesk8-api plesk8-api for centos-4-x86_64 Virtuozzo template plesk8-backup plesk8-backup for centos-4-x86_64 Virtuozzo template plesk8-battlefield plesk8-battlefield for centos-4-x86_64 Virtuozzo template plesk8-bf2 plesk8-bf2 for centos-4-x86_64 Virtuozzo template plesk8-cs-gs plesk8-cs-gs for centos-4-x86_64 Virtuozzo template plesk8-de-DE-locale plesk8-de-DE-locale for centos-4-x86_64 Virtuozzo template plesk8-fcgid plesk8-fcgid for centos-4-x86_64 Virtuozzo template plesk8-ja-JP-locale plesk8-ja-JP-locale for centos-4-x86_64
Virtuozzo template plesk8-mailman plesk8-mailman for centos-4-x86_64 Virtuozzo template plesk8-miva plesk8-miva for centos-4-x86_64 Virtuozzo template plesk8-modules plesk8-modules for centos-4-x86_64 Virtuozzo template plesk8-ppwse plesk8-ppwse for centos-4-x86_64 Virtuozzo template plesk8-psa-fileserver plesk8-psa-fileserver for centos-4-x86_64 Virtuozzo template plesk8-psa-firewall plesk8-psa-firewall for centos-4-x86_64 Virtuozzo template plesk8-psa-vpn plesk8-psa-vpn for centos-4-x86_64 Virtuozzo template plesk8-spamassassin plesk8-spamassassin for centos-4-x86_64 Virtuozzo template plesk8-vault plesk8-vault for centos-4-x86_64 Virtuozzo template yum YUM for CentOS template
Do I have mod_php?
Nimesh
php...@li... wrote:
Hi,
> I have apache HTTPD sever that serve static HTML and PHP.
> I have Tomcat that serve Servlet Request (Java Application).
=> INSTALL.J2EE
> Apache talks to Tomcat through JK Connector.
Either remove mod_php or remove mod_jk. You cannot have both.
Regards,
Jost Boekemeier
Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
http://de.yahoo.com/set
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
---------------------------------
Forgot the famous last words? Access your message archive online. Click here.
|
|
From: <php...@li...> - 2008-03-13 17:36:46
|
Hi,
what I meant was, that you cannot have both, PHP running within Apache and a forward rule which
forward all requests to the Tomcat back end.
The easiest setup is to remove or to ignore mod_jk and mod_php and to forward all requests to the
back end using a mod_proxy rule, please see the "Load Balancing" and "Cluster" entries from our
FAQ.
The other option: Apache/PHP front-end, Tomcat or J2EE back end is described in the INSTALL.J2EE
document. Again, you can ignore or remove mod_jk and use a mod_proxy rule instead.
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-03-14 10:13:00
|
I guess you are refering "I want to use Apache/IIS as a front-end and tomcat as a back end. How do I enable PHP and JSP for all my applications?" section from FAQ. But serving PHP through tomcat could be much slower. Can someone tell me impact of performance for serving PHP through Apache or Tomcat? I also don't understand why mod_php and mod_jk both can not work? PHP requests go through mod_php and JSP/servlet request goes through mod_jk to Tomcat. Where is the conflict? I hope to hear soon from someone. Thanks Nimesh php...@li... wrote: Hi, what I meant was, that you cannot have both, PHP running within Apache and a forward rule which forward all requests to the Tomcat back end. The easiest setup is to remove or to ignore mod_jk and mod_php and to forward all requests to the back end using a mod_proxy rule, please see the "Load Balancing" and "Cluster" entries from our FAQ. The other option: Apache/PHP front-end, Tomcat or J2EE back end is described in the INSTALL.J2EE document. Again, you can ignore or remove mod_jk and use a mod_proxy rule instead. Regards, Jost Boekemeier Lesen Sie Ihre E-Mails jetzt einfach von unterwegs. www.yahoo.de/go ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users --------------------------------- Why delete messages? Unlimited storage is just a click away. |
|
From: <php...@li...> - 2008-03-14 11:13:59
|
Hi,
> But serving PHP through tomcat could be much slower.
I don't think so. I've seen web server tests which suggest that running PHP through FastCGI is
almost as efficient as through mod_php.
> I also don't understand why mod_php and mod_jk both can not work? PHP requests go through
> mod_php and JSP/servlet request goes through mod_jk to Tomcat. Where is the conflict?
Depends on how you configure it. If you configure mod_jk to serve .jsp files only, your Java
classes may not be able to find their resources. If you configure it so serve anything except
.php, your PHP files may not be able to find their include (.inc) files anymore.
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails auf dem Handy.
www.yahoo.de/go
|