Will changing the folder name two directories above a fresh wordpress installation break the site?

It might be unsafe in some cases. You should export DATABASE .SQL file and search inside that, all string containing the phrase: var/www and var\www and var\\www and change those entries too. (you can do that in phpmyadmin too)