I'm going to try to preempt any "PHP sucks" comments with my Quora response:
http://www.quora.com/What-are-PHP-s-main-flaws-(and-good-par...
http://www.quora.com/What-are-PHP-s-main-flaws-(and-good-par...
Amongst other things that PHP gets right is the date/time handling (two functions to go between datetimes and UNIX timestamps, support for timezones).
Here are some PHP frameworks (that handle URL => resource instead of URL => file): http://www.phpframeworks.com/