There are a number of ways to run PHP on Windows computers.
The easiest is to download USB Web Server. This allows you to run a portable web server.
However it isn’t great for development.
You can install PHP by itself.
Windows does this slightly differently.
Download and install the Windows Platform Installer.
When asked grant Administrator access.
Restart your computer.
Search for Microsoft Web Platform Installer in the Start Menu
Open it and allow it to make changes
Search for php
Install the version of PHP you want, usually this is the most recent version.
Click Add (If there are other platforms/packages you want to install you can do that here)
Then click install
Read the licence and click I Accept
The PHP platform is now installed.
Open a command prompt
Type php –version
You should see the version of PHP that you installed.