Upload a .htaccess file that looks like this:
That way, domain.com/whatever, domain.com/whatever/, and domain.com/whatever/index.html will load domain.com/whatever.php. The directory or filename can include upper and lower case alphanumeric characters, underscores, and hyphens.