I think I have found the problem. My password for the MySQL database included a '$' character. Somewhere in the installation PHP files it was interpreting all the characters that came after the '$' character as an undefined variable. I've gotten past the point I was at before (on step 4 now) so we'll see how it goes. I just wanted to post this for the benefit of any others who might have experienced the same issue.