There are four different integration options in order of complexity and your requirements.別の統合には、 4つのオプションの順序を複雑さとにお応えします。 They are as follows:彼らは次のとおりです:

Multi-port Integration 複数のポートを統合
Run Apache (with PHP) on default port 80 and Tomcat on default port (8080). Apacheの実行( php )にはデフォルトのポート80とTomcatをデフォルトのポート( 8080 ) 。 They can run on the same machine with different ports without any problems whatsoever.同じマシン上で実行することができますポートの問題もなく、異なるものとします。 This is the simplest procedure.これは、簡単な手順を実行します。

Single Port Integration (Apache Mapping) シングルポートの統合( Apacheのマッピング)
In this scenario Apache and Tomcat runs on different ports as above.このシナリオで、 ApacheやTomcatの別のポートを実行する上記のようにします。 However Tomcat any application can be mapped to a path on Apache server.しかしTomcatの任意のアプリケーションのパスをできるApacheサーバに割り当てられています。 So it doesn’t appear to the end user that two servers are running.が表示されないので、エンドユーザーが2つのサーバーが実行されています。 This is almost as simple as sbove.これはほとんどsboveと同じくらい簡単です。

Running PHP 5.x in Tomcat 実行中のphp 5.xのはTomcat
The link above provides a detailed tutorial along with helpful comments from users.上記のリンクの詳細なチュートリアルに沿っに有益では、ユーザからのコメントです。 This isn’t very complex to setup (more complex than above) but you have to carefully follow the steps.これは非常に複雑を設定する(上記よりももっと複雑な)が設定されてを慎重に次の手順を実行します。 This also allows invoking php code from within jsp and with some minor changes in reverse direction too.このPHPコードから呼び出すことも可能にJSPのとは逆方向にいくつかの軽微な変更が判明しました。

Single Port Integration (Apache Tomcat Connector) シングルポートの統合( ApacheのTomcatのコネクタ)
This is slightly better than the Apache mapping solution above.これは、よりやや良い解決策は、 Apache上にマッピングします。 You can configure it to run static html pages in Apache and dynamic JSP pages using Tomcat.構成することができます静的なHTMLページを実行することで、 ApacheやTomcatの動的なJSPページを使用しています。 However it is a installation / configuration hell (almost).しかしこれは、インストール/設定地獄(ほぼ)です。

For all of the above you can exchange data between the PHP and Tomcat by using the database, files, invoking appropriate URL with GET/POST data etc. Additionally you can directly communicate in the上記のすべての間でデータ交換することができます。は、 PHPとTomcatを使用して、データベース、ファイル、適切なURLを指定して呼び出すのGET / POSTデータ等は、また直接通信することができます。
running PHP 5.x in Tomcat実行中のphp 5.xのはTomcat solution.ソリューションです。