Several people have made use of a lightweight webserver like Lighttpd in combination with PHP/SQLite in order to set up boards or wordpress installations on Raspberry Pis. Would that be something for you?
Another lightweight stack would be Openresty. Scripting nginx with lua. Both blazing fast. Lapis might be an appropriate web framework to start developing with.