You'd register the new extension with the web server the same way that you registered .php with the web server originally. E.g., in Apache, you'd edit httpd.conf and include under
AddType application/x-httpd-php .php
the line
AddType application/x-httpd-php .new