1,105,456 Community Members

make tomcat send php request to apache

Member Avatar
bowmaster
Newbie Poster
14 posts since Aug 2010
Reputation Points: -3 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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.

Member Avatar
Stefano Mtangoo
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 441 [?]
Q&As Helped to Solve: 394 [?]
Skill Endorsements: 2 [?]
 
-1
 

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

Member Avatar
bowmaster
Newbie Poster
14 posts since Aug 2010
Reputation Points: -3 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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

Member Avatar
Stefano Mtangoo
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 441 [?]
Q&As Helped to Solve: 394 [?]
Skill Endorsements: 2 [?]
 
-1
 

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

Why would you want to do that?

Member Avatar
bowmaster
Newbie Poster
14 posts since Aug 2010
Reputation Points: -3 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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.

Member Avatar
Stefano Mtangoo
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 441 [?]
Q&As Helped to Solve: 394 [?]
Skill Endorsements: 2 [?]
 
-1
 

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

Member Avatar
bowmaster
Newbie Poster
14 posts since Aug 2010
Reputation Points: -3 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

you are realy not helping me

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: