Accesses to all files result in '500 Internal Server Error' messages

500 Internal Server Error messages on every page are typically an indication of a misconfigured site configuration file - such as a .htaccess or web.config file in your hosting package. If you've recently made changes to either of these files, it's worth trying reverting to a previous version.

Common errors include attempting to use php_value directives in your .htaccess file (this won't work on our platform as we run PHP as a CGI - use a php.ini file instead), and incorrect cases in web.config directives.

If you're on Windows hosting, don't forget to recycle the application pool after making changes to your site or configuration, and as the first action to take if you're seeing 500 errors - you can do this via Fast Name > Manage IIS Application Pools. You can also see behind the friendly IIS errors - in Fast Name > Log File Download, the error message viewer will show you the actual error being generated - this will often point to the location of the error.

It is also worth examining the last few lines of your error logs, as very often, PHP and Apache errors will be logged there. This is to be found in Fast Name > Log File Download.

  • 112 Users Found This Useful
Was this answer helpful?

Related Articles

My CGI/ASP/PHP script is giving an error when trying to write to a file.

This applies to Linux hosting accounts only.This is almost certainly down to incorrect...

My CGI/Perl scripts are failing with error 500 (Internal Server Error)

These errors are nearly always related to a coding error within the script, or bad variables...

I've installed the formmail script, but my form isn't working. Why?

The Formmail Script is provided via the Fast Name Control Panel, full usage instructions can be...

Why does my script produce a 'file permissions error'?

CGI scripts need certain file permissions to be set if they are to work properly. In general CGI...

CGI scripts fail with 'exec format error'

A CGI script must begin with a valid 'interpreter line' also called 'shebang'. That must be the...