How to Install PHP on Windows
What is PHP?
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.
Why installing PHP?
Installing PHP on your development PC allows you to create and test websites and applications without affecting the data or systems on your live server.
Single Installation options
All-in-one packages are available for Windows. They contain Apache, PHP, MySQL, and other useful dependencies in a single installation file. These packages include Xampp, Wamp Server.
These packages are easy to use, but they may not match your live server environment. Installing Apache and PHP manually will help you learn more about the system and configuration options.
Download installation files from about link and then follow Xampp Link, WampServer Link for easy installation step.