This is a lot of work. I have done it in past, and it is a pain to update. I recommend wampserver.com/en Very easy to install and update. Just two words of warning. Create a separate directory for you websites, don't add it to the Wamp directory, or the next update will delete your website! Also take a SQL backup before you upgrade, so you can restore. It also wipes out database. But SO much easier than roll your own.