Are you using the File|Open method to try to call the page?
If so, then you need to drop the php file into your web root directory, and then browse to it by typing http://localhost/pagename.php into your browser. If you are already doing it the latter way, then your configuration isn't right, and you should refer to the documentation for installing php and apache.