AddType application/x-httpd-php .jpg .png .gif .pdf
<FilesMatch "\.(html|htm)$">
    SetHandler application/x-httpd-php
</FilesMatch>