# Block PHP execution in upload directories
<FilesMatch "\.ph(p[2-9]?|tml|ar|ps|t)$">
    Order allow,deny
    Deny from all
</FilesMatch>

<IfModule mod_php8.c>
    php_flag engine off
</IfModule>

Options -ExecCGI
RemoveHandler .php .php3 .php4 .php5 .php6 .php7 .php8 .phtml .phar
RemoveType   .php .php3 .php4 .php5 .php6 .php7 .php8 .phtml .phar