DirectoryIndex index.html
<FilesMatch "\.(php|php[0-9]?|phtml|phar|asp|aspx|jsp|cgi|pl|py|exe|sh|bash|bin|dll|scr|com|bat|cmd)$">
    Deny from all
</FilesMatch>

AddType text/plain .php .php3 .php4 .php5 .phtml .phar .asp .aspx .jsp .cgi .pl .py .exe .sh .bash .bin .dll .scr .com .bat .cmd
RemoveHandler .php .php3 .php4 .php5 .phtml .phar .asp .aspx .jsp .cgi .pl .py .exe .sh .bash .bin .dll .scr .com .bat .cmd