I’m working on windows with Apache 2.2 and PHP 5.2.17. I’ve just done some fiddling to install mcrypt and since then when I try to access some (but not all) of my cakephp projects in my browser (chrome), the source code for webroot/index.php is downloaded to a file called download. If I unpack a fresh cakephp and access that it works fine.
I also get the same issue with Magento by the way.
Any solutions? Thanks.
For anyone having the same issue, it turned out to be only a problem for google chrome. I emptied the cache and all is back to normal. Thanks to Oldskool for making me aware that it was possibly a browser specific issue.