Kelvin wrote:Do you think I should download XAMPP instead.
Well, thats up to you. XAMPP is a package of the most common components you need to develop and test your scripts at home (or to start learning scripting php too of cause). This package is preconfigured and runs nearly out of the box.
Depends a bit on your operating system, but mainly installing is like: download => unzip => start (just follow the short installation guide).
But maybe that don't solve your problem. So i ask again:
How do you try to open the php file in your browser?
What does your browser address bar tell you?