As far as I know all you need to do is configure your web server to process php files through PHP

I've got this in httpd.conf for Apache

Code:
AddType application/x-httpd-php .php .php3
so that it does for both