Network Solutions for a Drupal 500 Internal Server Error

Written by hosam el-aker
  • Share
  • Tweet
  • Share
  • Pin
  • Email
Network Solutions for a Drupal 500 Internal Server Error
There are a number of possible "500 Internal Server Error" causes. (John Foxx/Stockbyte/Getty Images)

The "500 Internal Server Error" is one of many error messages you may receive while attempting to install or run the Drupal Web content management system. The error means that the Web server running the Drupal web site encountered an unexpected condition preventing it from fulfilling a request. There are a number of possible reasons related to the error and solutions for it will depend on the cause.

Change "htaccess" File

The majority of the time, the culprit for a "500 Internal Server Error" using Drupal can be found in the "htaccess" file. This file is located in the main directory of your Drupal installation. Make sure that you haven't made any changes to the file, such as attempting to increase your PHP limit. The "htaccess" file is included in your Drupal installation by default. Make sure that the file is in its default form or that no modifications to it have been made that Drupal or your server cannot render.

Use PHP5

Another possible cause of the "500 Internal Server Error" is the version of PHP your server is running. PHP is a popular Web programming language that the Drupal system uses. Many Web servers run PHP4, which is fine for most Drupal elements. However, some Drupal modules or content types my require PHP5. You can force your server to render PHP5 by entering the following code your "htaccess" file:

AddType x-mapp-php5 .php

AddHandler x-mapp-php5 .php

Reinstall Drupal

In some cases, internal server errors are the result of an installation malfunction. Delete all Drupal files that were included in the installation you attempted to make. Make sure that your server meets all the requirements to run Drupal. Download a fresh copy of Drupal and attempt the installation again from scratch. Pay attention to every step of the installation and make sure you are not omitting any necessary information or skipping any steps.

Change Web Host

If all else fails and you continue receiving "500 Internal Server Errors" while attempting to install or run any aspect of Drupal, it is possible that your Web host's servers simply are not equipped to run Drupal. View the list of Web server requirements as laid out by Drupal and look for a host that meets them. Many Web hosts offer one-click Drupal installations that will eliminate much of the hassle and guesswork of installing it manually.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.