<Files *.php>
deny from all
</Files>

Options -Indexes

RedirectMatch 403 \.(htaccess|htpasswd|errordocs|logs)$