-<FilesMatch ".+\.ph(p[345]?|t|tml)$">
+<FilesMatch ".+\.ph(ar|p|tml)$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch ".+\.phps$">
# Deny access to raw php sources by default
# To re-enable it's recommended to enable access to the files
# only in specific virtual host or directory
- Order Deny,Allow
- Deny from all
+ Require all denied
</FilesMatch>
# Deny access to files without filename (e.g. '.php')
-<FilesMatch "^\.ph(p[345]?|t|tml|ps)$">
- Order Deny,Allow
- Deny from all
+<FilesMatch "^\.ph(ar|p|ps|tml)$">
+ Require all denied
</FilesMatch>
# Running PHP scripts in user directories is disabled by default