My hosting company just told me that in order for me to use php on their server I need to have the .php4 extension in all my php scripts, and otherwise php won't work. I have been using WAMP for a few weeks and it only seems to work with .PHP extension files, I am sure there's a way to make it work with .php4 extensions as well, just need to know how...
Yes, there is an Apache configuration file, httpd.conf. But, more importantly, if your hosting provider allows per-directory override files (.htaccess) you can drop it into your root of your shared hosting site and you won't have to rename all your extensions to .php4!
The order doesn't matter. May have been a browser caching issue or something.
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).