PHP is a server scripting language. To run PHP we first need to install PHP and a server.
We need to find a common solution where we will get -
1. PHP
2. Webserver
3. Database
We can use WAMP, XAMPP, LAMP etc. There many complete software.
You can install any of this. In the above video I described how you can download and install WAMP server.