Download apache and just follow the intaller.
You can run mysql on your home computer without the need of setting up a http server like apache. First, download mysql free. For windows it's a simple installer that quickly installs a functional mysql server.
First, download php zip package. Install it into C:\PHP. Then download the installer and run it. Please read the installation instructions. You will have to add
LoadModule php4_module "c:/php/sapi/php4apache2.dll" AddType application/x-httpd-php .php
to httpd.conf. It's usually located in C:\Program Files\Apache Group\Apache\conf .
Check out http://127.0.0.1/ This is your localhost address. Go to the Apache Group\Apache\htdocs folder and add an index.html and see if it changed what appears in the localhost address.
Open C:\WINDOWS\system32\cmd.exe , type "cd\", enter, type "cd mysql\bin", enter, type mysql -u root, enter. If it didn't give you errors, you're good.
Make a new page with <? php echo phpinfo(); ?> in your htdocs folder. Then check it at http://127.0.0.1/whateveryounamedit.php .