I’ve uploaded a site – which is working fine – but can’t quite figure out how to secure the PHP.
PHP files are properly interpreted when I visit the site via my browser, but the site is returning the uninterpreted PHP source code if I hit it with something like wget. Clearly, that’s not desirable behavior.
I’ve fixed this on other sites before, but don’t know the best approach on Dreamhost. Do I need a custom php config or is there a better way?