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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
