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.
A selection of commercial but inexpensive Facebook Fanpage templates Related posts: 10 Awesome Magento Themes Magento is a great and feature packed eCommerce package, that...
How-to download youtube videos to Linux (specifically Ubuntu, but should work for others) 1. Install required software sudo apt-get install youtube-dl 2. Run from the
What is a bulk email service provider? Sending out an email newsletter to people that have specified an interest in your products or services is