i.e to replace Apache with a PHP application that sent back html files when http requests for .php files are sent?
How practical is this?
Why reinvent the wheel? Apache or any other web server has had a lot of work put into it by a lot of skilled people to be stable and to do everything you wanted it to do.