I have a windows7 64bit, I tried to run php and my IE browser was asking me for to download the file instead of executing it. Someone told me to download apache, so i downoaded wamp2.5-32bit version, installed it well, and also chose Firefox as default for wamp. But still when I double click php files in www directory of wamp, firefox asks me to download it instead of running it.
I have tried adding these lines in httpd.conf but no change;
LoadModule php5_module "c:/wamp/bin/php/php5.5.12/php5apache2_4.dll"
#PHPIniDir c:/wamp/bin/php/php5.5.12
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddType text/html .php
LoadModule php5_module modules/mod_php55.so
This wamp option also seems like a tag of war, I am going around editting notepad files and its now lots of hours gone. Is there another option?
Did you check the PHP-server is running? Apache can run, but PHP is another service. Right click on the WAMP icon in you taskbar en check that. Good luck!