Using an .htaccess file, the following rule will work: AddHandler application/x-httpd-php5 .php This will allow .php file extensions to be parsed by the PHP5 engine on the server.