does anyone know how to make a .htaccess file make apache use php5 as opposed to php4... my webhost has php5 installed, but it defaults to php4 it should just be a addtype thinger, but I'm not sure, that's why I'm asking I'm kinda tired, but I hope this makes enough sence
This is what I use on my PowWeb account: AddHandler application/x-httpd-php5 .php And I'm pretty sure you can add stuff like: AddHandler application/x-httpd-php4 .php4 to handle PHP4 files with .php4 extensions. (You'd be surprised how many of your scripts just won't work in PHP5, then once you rewrite them the way you wish you did in the first place, they are somewhat faster than before, with more features! )
I found it in my host's faqs, thanks though edit: most of my php4 scripts do work faster in php5, which is an added bonus