You can use XAMMP.
First click this link and download the latest version of XAMMP. (Installer)
After you install create a php file and write
in it and save it into c:\xampp\htdocs\ name : test.php.
Open your web browser and type : localhost/test.php, if you see "hello world" in the webbrowser then it runs successfully.