put this on an .htaccess file and drop it in any directory.
with this you can force any filename to be recognized as PHP

copy the code of directories / htaccess

click here to select all the code