Forum Moderators: coopster
AddType application/x-httpd-php .php .php4
Most providers allow this, so check into it.
I added the line:
AddType application/x-httpd-php .php4 .php
to my httpd.conf file and now it works, just had to flip the .php4 in front of the .php in that line.
I would still like to know how to edit the .htacces file so I can use regular .php files on my site though. Could someone point me in the right direction?
Anyway, that is exactly what the AddType [httpd.apache.org] directive does. You should be able to have files with .php or a .php4 extension and PHP should parse them. It all depends on the server configuration. In most cases, the directive shown works just fine. In other installations you may have to use AddHandler (or choose to do so).