Using PHP 5 with 1and1 hosting

GD Star Rating
loading...

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



GD Star Rating
loading...
Tags: 1and1 php version, 1and1 php, 1and1 php5, 1&1 php version, 1and1 php 5, 1and1 change php version, 1and1 php5 htaccess, 1and1 htaccess php5, 1&1 php5, 1&1 php, 1and1 update php

Comments

  1. David Myles says:

    Hi

    I had the problem with PHP5 when I first set up WP 2.9.1 on my 1and1 host but used one of the .htaccess mods suggested above.

    I’ve just upgraded to WP 3.1 with my original Minibuzz theme and I am having issues with header, page title and link text colours not replicating what is set and also the page navigation bar text sits out of alignment for the particular page I am on at the time.

    the .htaccess file lokes like this…

    AddType x-mapp-php5 .php
    # BEGIN WordPress

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress

    I’ve seen suggestions to add Options All -Indexes and have tried this above the AddType x-mapp-php5 .php text but this has not improved the problem.

    Any suggestions, please? David

    GD Star Rating
    loading...
  2. John says:

    Same problem after following the recommendation. :-(

    GD Star Rating
    loading...
  3. David Myles says:

    I have backed loaded my original site which uses wordpress 2.9.1and with the same .htaccess mod AddType x-mapp-php5 .php and the site is running smoothly.

    Although the problems I experienced with WP 3.1 were exactly the same as those I had when I first uploaded my site to 1and1 prior to ‘kick starting’ PHP5 I think this time this is an issue with compatibility with my theme, minibuzz v1.0 and the later edition of wordpress.

    I am therefore going to try update the theme and wordpress and keep the .htaccess modified as suggested.

    GD Star Rating
    loading...

Speak Your Mind

Web Statistics