php have a easy way to run a light server:
first cd into php file directory, then
php -S 127.0.0.1:8000
then you can run php
In short:
Install WAMP
Put this file to C:wampwwwProjectNamefilename.php
Go to browser: http://localhost/ProjectName/filename.php