Using PHP 5 with 1and1 hosting

SHARE this post!

I was using a new plugin today with one of my WordPress blogs and it seems I am running PHP4 and the plugin needed PHP5. What to do?

Well in looking at the help stuff for my web host 1 and 1 internet I found that I just needed to add a line to my .htaccess file for the blog.

I added the following line to the top of the .htaccess file nad everything worked perfectly:

AddType x-mapp-php5 .php

It seems that the default PHP version at 1and1  internet is version 4 but just by adding the above line the default for that folder/domain will then become PHP5