There isn't any servlet API equivalent provided with PHP, so the quick answer is you need to implement the logic yourself.
You have a lot of elbowroom on how you can accomplish this. The practice is to create a certain flow of control within your application by starting off with one file through which all requests are initially processed that will initialize some values, such as constants, file paths, etc, after which you start parsing the request and generate the requested content.
Obviously, it's quite quick to set up some main file and to parse the request. In the past we had the "one .php file to rule them all" practice taken to the max. You'd usually have a single file that would include the header, footer and based on some incoming GET or POST params you'd also include some other pages that would generate or display the content. You can easily understand how messy things could get!
My suggestion, before you go off and try to develop something yourself, is to try some of the existing frameworks that are already out there and start getting productive asap. I'll presume that PHP is not your primary expertise and that you're shopping for a framework that you can get up and running fast and quickly grasp it's complete scope. Two of them, CodeIgniter and CakePHP, are as frameworks to PHP as WordPress is to blogging - functional, simple and effective.
If frameworks don't follow suit with your likings, you should definitely read The no-framework PHP MVC framework.