Hi,
I'm a Linux sysadmin with 15 years of experience and would love to help you with this task.
This can be achieved with something like:
<FilesMatch "/path/to/*\.php$">
order deny,allow
deny from all
</FilesMatch>
Looking forward to hearing from you.
Best regards,
Marco Ramos