I just installed php with the microsoft web platform installer. When I run a .html file on the localhost it works, but when I run a .php file I get an error. Can anyone help me?
I've never configured PHP for IIS, but according to this article: http://forums.iis.net/t/1166158.aspx/1 you don't have the CGI installed for IIS. They give instructions for how to install / reinstall the CGI under the windows features.
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php