I tried the following, which didn't work:

AddHandler application/x-httpd-php54s .php