I'm setting up a XAMPP installation on my home PC so I can develop pages locally before uploading them... however I've hit a bit of a snag.
The framework I've used for my web site uses different file extensions to .php, instead using both .uni and .unc for differing code types. So that being said, I need to reconfigure Apache to allow different file types to execute as PHP.
I did some research, and I've found that all I should have to do is add this to the default httpd.conf file in Apache:
AddType application/x-httpd-php .unc
AddType application/x-httpd-php .uni
However, when I tried this, it didn't work. The code didn't render as raw text... it rendered like HTML, however the PHP code hadn't been executed.
The strange thing is, I tried this on an installation of XAMPP on my computer at work, and it worked fine. Granted the version of XAMPP at work is probably somewhat older.
I'm running Windows XP Pro SP3 on an Intel Core 2 Quad 2.4ghz
Has anyone seen this happen before? I'm unsure if this is a problem with my Apache config, my XAMPP, or maybe just my PC in general.
Thanks!