I use Apache and you would do this the following way: AddType application/x-httpd-php .php .htm .html in the httpd.ini file
The following page might help you better than I can with IIS (I know very little about it): http://www.thewirelessfaq.com/what_s_with_the_http_server_mime_types