Chrome mistakenly downloads localhost/wordpress pages, but Firefox doesn't
- by Mr E
I have Wordpress installed at http://localhost/wordpress
When I try and view a page in Chrome, it downloads the PHP file rather than showing the page. When I view in Firefox, everything works fine.
when I create localhost/test.php containing simply <?php echo "hello world" ?> it displays in both browsers.
Any ideas on what might be wrong?
$ dpkg -l | grep apache outputs: apache2, apache2-mpm-prefork, apache2-utils, apache2.2-bin, apache2.2-common, libapache2-mod-php5