Knowledgebase
Causes of 500 Internal Server Error
Posted by James Moir on 21 June 2016 04:06 PM

Issue

When you try to access your website your receive the following error message:

Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator to inform of the time the error
occurred and of anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Causes

There are a number of issues which can cause this problem.

  1. World writeable access to httpdocs directory while running PHP
    Under Net24's PHP hosting environment, PHP does not run as an Apache module, but instead runs under suexec mod_fcgid. For security suexec mod_fcgid does not permit the document root to be world writable. If your httpdocs permissions show the following...
    drwxrwxrwx  10 user  group  512 Oct  1 11:54 httpdocs
    

    ..you then have world writable permission set on the directory. The permissions should be as per below (chmod 750):

    drwxr-x---  10 user  group  512 Oct  1 11:54 httpdocs
    

    The permissions can be changed using the Plesk File Manager.

    Also check that the .phpwrapper file within the httpdocs directory has the correct permissions applied.
  2.  

  3. Disk quota exceeded
    If there is not enough space available under your account, applications that depend on Fast-CGI, such as PHP, may cause this error. A small amount of free space is required for Fast-CGI to initalise. To resolve this issue remove some files under your account or contact Net24 Customer Service to increase your disk quota.