After having installed WAMP, php files download when accessed through the browser instead of being run
After having installed WAMP, I successfully accessed http://localhost/index.php which is the WAMP index page. So Apache is working properly. I then copied my code into C:/wamp/www/mycode/ and tried to access it through http://localhost/mycode/somepage.php . Instead of running the script it downloads it at this point. Moving the files to C:/wamp/www/somepage.php works perfectly fine though, so for some reason it won't allow me to have files in a subdirectory of the root folder. My httpd.conf file includes the following types and handlers: AddType application/x-compress .Z AddType application/x