Install WampServer
Before we start working with PHP/MySQL, you need to install WampServer first in your local computer. WampServer will allow you to run PHP script in your local computer without accessing live server.
Running PHP script locally will also speed up your development.
First download WampServer from http://www.wampserver.com/.
Download WampServer

In step # 3 select 32bit or 64bit.