Using PHP 5 with 1and1 hosting
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























































thanks! working on migrating a customer’s site to 1&1 and was afraid that i was stuck with php4. this worked perfectly.
Thanks – needed php5 for some app and never used 1&1 before!
Just what I needed! I am working with ExpressionEngine and needed to update my PHP version in order to use some plugins. Thank you for posting this tip, it worked perfectly.