Elgg-html5 is a project mainly written in PHP, it's free.
HTML5 support for Elgg
Provides several javascript libraries + views that allow developers to start using HTML5 features in Elgg today.