I want to run java and php script in same server.
I want to run both the port 8080 and 80 in the same server.
Please anyone can you help me how to configure that.
I do not think your idea is feasible because a server can only listen to 1 port. Here you find a good overview how you can run a Apache HTTPd and Apache Tomcat in parallel on one port.
Please give us some details what you want to achieve.