How to disable php execution for certain files
Issue
- We have certain files being executed as php scripts that we don't want to be. How can we prevent that?
- Dual extension files (i.e. .php.png) are still executed as php.
Environment
- Red Hat Enterprise Linux
- Apache httpd
- mod_php
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.