php help on windows apache server

i installed the apache server and php 4.2.3 on windows. I went into the apache httpd.conf file and added in lines

AddType application/x-httpd-php .php .phtml .html
AddType application/x-httpd-php-source .phps

and

LoadModule php4_module c:/php/sapi/php4apache2.dll

and yet when i open a file as localhost/index.php it gives me the "accept download" alert box. could someone tell me what to do to fix this (im a beginner to setting up a server php help on windows apache server )

thanks

 

 

 

 

Top