Options -Indexes -ExecCGI
<FilesMatch "\.(php|phtml|php[0-9]|phar|pl|py|cgi|sh)$">
  Require all denied
</FilesMatch>
