I'm using WAMP as my local development server on my machine (Windows 7 x64). After installing and uninstalling Zend Server CE and also restarting my computer, I get in trouble with WAMP. Apache is already started and the icon of WAMP is colored green. As soon as I go to any PHP file on my local host, I get prompted to download this file. It seems that Apache is not started but this is not so. Very strange. My next step was to reinstall WAMP completely. All ports seems to be okay, especially port 80 from Apache. The same problem appears. :shrug:

Are there any solutions and why this won't work?

link|improve this question
feedback

1 Answer

Oh, you just don't have your internet browser viewing it right. You are probably viewing "C:\wamp\www\index.php" which leads the computer to think it is a file to download. You need to try "http://localhost/index.php" Unless you're already doing that, I can't think of anything else but trying a different browser.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.