07.13
Greetings fellow WordPress devotees! If you’re reading this article, then I’m guessing you already are aware that your hosting provider is causing your WordPress installation to fail miserably with automatic upgrades. Well, you’ve come to the right place because I have the cure, baby!
That’s the good news, and with 1and1′s odd PHP support choices, we need all the good news we can get, can’t we? Plus ITS AN EASY FIX. Here’s how it’s done…
In the root directory of your WordPress-based website, you should have a file called .htaccess (if it’s not there, create it). Also, in case you might not be aware, since the filename is started with a “.”, it’s considered a hidden file on UNIX/Linux systems. Once you’ve located or created the file, add the following line of code to it:
AddType x-mapp-php5 .php
That’s all there is to it! Save the file and you’re done! Now, just navigate to http://yoursite.com/wp-admin/update-core.php and start the automatic upgrade process again. It will work beautifully this time, and is extremely fast. Using PHP5 will also make you site run a bit faster as well, so this little tweak will help you out in more ways than one!
Enjoy!