954,242 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

make tomcat send php request to apache

I have a project made with jsp on a apache tomcat server.
I also have intalled wamp server package for the purpose of using a data base made with phpmyadmin. I was wondering if i could also use php pages im my project.
I learned that a posible way would be to make the apache tomcat server send the php request to the apache html server in the wamp package.
I have followed a lot of tutorials to no result, somme were out of date, some i just couldn't understand as i have no server configuration esperience.
Any help is welcomed.

bowmaster
Newbie Poster
14 posts since Aug 2010
Reputation Points: 7
Solved Threads: 0
 

Tomcat works with MySQL without Apache. Apache and Tomcats are servers doing similar joby utilizing different technology.
So Install Tomcat and then install MySQL server and use JDBC to connect to MySQL

evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
 

My problem is getting php to work on tomcat not sql. Sql works just fine.

bowmaster
Newbie Poster
14 posts since Aug 2010
Reputation Points: 7
Solved Threads: 0
 
My problem is getting php to work on tomcat not sql. Sql works just fine.


Why would you want to do that?

evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
 

I have to do most of my project in jsp since the teacher that coordinates my project teaches jsp at my university but he said that i can also use php to make some smaller projects and atach them to the main one. And php is faster to work with for this purpose. I am looking for guidance and/or answers from someone who has done server configs before and is familiar with apache worker procese.

bowmaster
Newbie Poster
14 posts since Aug 2010
Reputation Points: 7
Solved Threads: 0
 
I have to do most of my project in jsp since the teacher that coordinates my project teaches jsp at my university but he said that i can also use php to make some smaller projects and atach them to the main one. And php is faster to work with for this purpose. I am looking for guidance and/or answers from someone who has done server configs before and is familiar with apache worker procese.


No Don't do that. You will make it more complex. Just do all things in either JSP and Servlets or PHP. Don't mix the two beasts

evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
 

you are realy not helping me

bowmaster
Newbie Poster
14 posts since Aug 2010
Reputation Points: 7
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: