WordPress automatic updates failing on 1&1?

Wednesday, December 2nd, 2009

When WordPress 2.7 was released I was looking forward to automatic updates out of all the new features. Instead of copying files back and forth through SFTP (which isn’t terribly hard, but annoying enough when you have to do it every few months), all you have to do is click a button and WordPress does the rest for you. Supposedly. I think this might have worked for me once after 2.7 was released, but since then it’s always failed, right up through the most recent 2.8.x versions. Instead, the update screen just perpetually hangs with the message “Downloading update from http://wordpress.org/…“.

With the most recent update I finally found a fix for the problem, which is apparently specific to the PHP configuration for 1&1 customers. Add these two lines to the end of the .htaccess file in your WordPress root directory:

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

And you should be set!

Tags: , .

There are 2 comments in this article:

  1. 3/12/2009Philippe Guitard said:

    Thanks for the tip Marc! I’m glad I can now do the automatic updates. I was getting tired doing it manually especially when WordPress gets updated on a frequent basis.

  2. 6/01/2010Bob Goyetche said:

    Thanks for this Marc!

    this solved the upgrading issue I was having as well. A note for future readers though, I had some php includes I’d cobbled into a theme, and this broke them.

    That’s why we test test test!!

    Cheers!