how basic server in php works
<p>I want to ask a conceptual question: how a server written in php works? </p>

<p>Actually I want to know when I write a simple php code to get some information from a client, how does the whole process happen? </p>

<p>In java I have to start server first. Server listens to the port. When any client knocks then connection creates. Is it similar to php? Before running client application do I have to run my php code or server will do that for me? I am using localhost.   </p>
