PHP 5 on 1and1 Shared Hosting
This is theĀ simple way to run PHP 5 on your 1and1 Linux shared hosting account.
1and1 gives you the choice of running PHP 4 or 5 on your sites and scripts.
The default (due to Apache) throughout your server will be PHP4.
To tell Apache to use PHP 5 instead of PHP 4 for the extension .php, you must add a few lines to your .htaccess file. The instructions will affect the directory the .htaccess is placed in and all sub-directories under it.
Add the following lines to your .htaccess file.
x-mapp-php5 .php
AddType x-mapp-php5 .php

