PHP 5 & 1and1.com

I know two posts in one day might be a little much but this one I felt i should make you aware of. As most of us know 1and1.com still hasn’t started using PHP5 by default. This little hack you add to your sites root .htaccess file. If you don’t have one… create one then just past this code in. Make sure all software you have installed on your server will run PHP 5.

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

Would like to thank Scott for this one.

 

Edit: This is an old post. 1and1.com now has PHP5 by default.