Don't bother for all this configurations,,,,,,,somebody is already doing it for you........
google XAMPP and install it, look the documentation and change the passwords as suggested, you are all set........
It is opensource and free and preconfigured php, mysql, pear, filezillaFTP, Mercury Mail server and lot more.........
Good Luck.........