Block access to all php files

remics

New Member
#1
How I can block direct access to all php files in currently folder using .htaccess ?

I tried the code below, but doesn't works:
<FilesMatch "\.(php)$">
deny from all
</FilesMatch>
 
Top