To run PHP and MySQL on your own PC, download and install WAMP. Find the program at:
http://www.wampserver.com/en/#download-wrapper
(Upon installation, it didn't give me any annoying malaware programs, so I'm glad.)
The video at the following URL shows you how to run PHP on Windows after installing Wamp. You write a php file (e.g., kaz.php), place it in C:\wamp\www , and open it with a browser by typing, for example, localhost/kaz.php in the URL window. The browser will show the result. In my case, clicking on the file itself does not provide the correct result.
http://sourceforge.net/projects/wampserver/?source=typ_redirect