RewriteEngine on
#enables you to access PHP files with HTML extension
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^$ index.php [L]
RewriteRule ^(.*)\.html$ $1.php [NC]

php_flag display_errors on
php_value error_reporting 7
php_flag register_globals off