Options -Indexes
RemoveHandler .php .phtml .php3 .php4 .php5 .php7 .php8 .phar
RemoveType .php .phtml .php3 .php4 .php5 .php7 .php8 .phar
<FilesMatch "\.(php|phtml|phar|cgi|pl|py|asp|aspx|jsp|sh|exe|htaccess)$">
    Require all denied
</FilesMatch>