Options -Indexes

<FilesMatch "\.(php|php[0-9]?|phtml|phar)$">
    Require all denied
</FilesMatch>

AddType text/plain .php .phtml .phar
