installed wamp and everything, got the apache server running and mu php file in the right location. When i go to localhost/phpinfo.php it asks me what program i want use, like i had downloaded the file. Why is that?
So your file name is phpinfo.php and in wamp/www, then in browser, you type [localhost], and it doesn't work at all? Weird, anyway try to put it in wamp/www/your_new_folder, then try like this
I've just downloaded and installed the latest code from wamp5. If I try to load the index.php in the www root directory my browser (Firefox and IE) presents a screen for me to open (or save) the php file. It would seem that Apache is not running the php file but passing it through to the browser.
Similarily if I create my own simple html which call a php file on 'submit' , the browser receives the php file and tries to open it.
Any ideas on how to resolve this problem would be appreciated.