application/x-httpd-php opening rather than pages?
- by GuyNoir
For some reason, no matter what page I try to open (.php, .html, .html, etc) my server trys to save it, rather than displaying the page. However, I do get the "It Works!" page for the main domain, it's only when I try to display a page on a sub-directory that it fails.
I researched the problem, and I placed a .htaccess file in the directory of the pages that I'm attempting open with the code:
AddType application/x-httpd-php5 .php .html .htm
AddHandler applicaton/x-httpd-php5 .php .htm .html .my
I'm running the latest version of apache and php5 which is installed as the "php5" module.
Any help?
http://i.stack.imgur.com/fh6dj.png