To begin working with PHP you should have a local web server that can run Php installed on your computer.
The easiest way to do this is to use WAMP package.
Before installing WAMP you will have to install the following supporting files
All VC Redistribuable Packages (x86) (32bits) [click
here]
All VC Redistribuable Packages (x86_x64) (32 & 64bits) [click
here]
Setup will install four essential software on your computer with nearly everything configured.
It will installed the followings in one click:
Read the very good tutorial on how to install WAMP here and do as instructed in that tutorial.
Note
For more detail please see
Php Manual at http://www.php.net