Is this running under Apache? If you're loading it as a module from
Apache then you need to make sure that your httpd.conf file is set to
allow the PHP engine to parse specific files. In the Apache conf file I
believe the line is:
AddType application/x-httpd-php
You can add file types by just
There are some parameters in the httpd.conf file for apache that
designate which file types will be parsed for php code. Here are the
ones on one of my servers;
--snip
--
#
# AddType allows you to add to or override the MIME conf