In case anyone is running their WordPress installation on an 1&1 hosting package, you can add the following line at the beginning of your htaccess file:-
AddType x-mapp-php5 .php
It works, but don’t ask me how or why.
I found this fix here:-
https://www.xptechsupport.com/using-php-5-with-1and1-hosting.html