I didn't want to download everything again, so I decided to simply rename all *.php to *.html, and fix the links inside so they were pointing to renamed files. It proved to be not an easy task for a novice Linux user such as myself :)
The following command recursively replaces the extension ".php" to ".html", starting from the current directory:
find . -name *.php -type f -print0 | xargs -0 -I '{}' rename 's/\.php/\.html/' '{}'
Now fixing hyperlinks inside the web pages:
find . -name *.html -exec sed -i 's/\.php/\.html/' '{}' \;
That's it :)