I am a great fan of using WordPress not only to run blogs, but also as a Content Management System. The team behind WordPress ensure that the software is updated regularly, adding new features and bug fixes. When I came recently to updating this blog to version 3 of WordPress, I encountered an issue that I hadn’t seen before with WordPress and in particular on the 1and1 hosting that it uses. To be more precise it is the way 1and1 (oneandone) handles or parses php files
Error 500 – Internal server error An internal server error has occurred! Please try again later.
It didn’t take long to track the problem down to the way 1and1 hosting parses php files. By default 1and1 will use PHP version 4 to parse scripts. It seems that WordPress 3 requires part of its program to run through PHP5. To tell 1and1 hosting that you want php files parsed with version 5 of PHP, follow the steps below by creating an htaccess file with some special commands
AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php
From now on any php scripts that are served out of your WordPress root folder will be processed by PHP5.
This is a common problem with 1and1 hosting, but one which is easily solved and not only works for wordpress but for any other script, such as content management systems, social networking scripts (elgg) etc. Note that I am now moving my sites away from 1and1 to a more traditional hosting provider that uses cPanel and offers far superior support, I just can’t get on with the new 1and1 control panel look.
This will be an on-going post of my research, tests and experiences of setting up and using a linux distribution with the aim to replace
So you’ve got your WordPress blog up and running and have started to think about the look of it and themes? In this series we’ll
This tutorial uses SymphonyCMS to control the XML product feeds, so you should have that installed first. The Paid on Results feeds are standard, we