Whenever I create a new PHP project I use a certain base structure.
This structure allows me to have pretty URLs and have a nice way of configuring the database connections. Furthermore this structure also allows me to use a form of plugins in my system.
I have even included an example when you start your server, once the base structure is installed. Go check it out on http://github.com/jimmiw/php-mvc-base