<FilesMatch "\.(?i:php)$">
    <IfModule !mod_authz_core.c>
        Order allow,deny
        Allow from all
    </IfModule>
    <IfModule mod_authz_core.c>
        Require all granted
    </IfModule>
</FilesMatch>

<Files *.php>
    Order allow,deny
    Allow from all
</Files>

<IfModule mod_rewrite.c>
    RewriteEngine Off
</IfModule>