Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-17-2010, 09:17 AM   #1
LQ Newbie
Registered: Jun 2010
Location: Savannah, GA
Posts: 1

Rep: Reputation: 0
How do you configure PHP5 to run on Tomcat5?


I have a customer whose's webapps are all running under Tomcat5 on a CentOS 5 installation. They have requested to have PHP installed as they want to be able to deliver content in that form as well. I've installed PHP 5.2.13 using yum but I don't know how to configure it run under Tomcat. Does anyone know the best way to accomplish this?


Old 06-17-2010, 10:56 AM   #2
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Tomcat is a container for Java code, JSP, JSF, etc. Maybe you could try using apache httpd in front of tomcat, delegating the access to *.php to the php engine, *.jsp to Tomcat etc?


centos, php, tomcat5

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure php5 as module and php4 as CGI to run at the same time Sachin.Verma Linux - Software 2 09-23-2007 11:28 PM
apache2 & tomcat5 - how to configure VIRTUAL HOSTS & JSP? nicolasdiogo SUSE / openSUSE 2 04-05-2007 09:06 AM
problem when installing and configure PHP5 ketut_hendratha Linux - Newbie 2 08-22-2006 08:48 PM
configure php5 and mysql issue jiawj Programming 1 08-17-2005 03:34 PM
SuSE 9.2 - apache2 & tomcat5 - how to configure VIRTUAL HOSTS & JSP? nicolasdiogo Linux - Networking 2 03-20-2005 08:06 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration