Website shows 500 Internal Server Error (HTTP 500)

For hosting customers · Updated 2026-10-29

On this page
  1. Symptoms
  2. Causes
  3. Fix
  4. Still not working?

A 500 error means the website's own code stopped with an error before it could send a page. The web server itself is working. In almost every case the exact reason is written in your PHP error log, which you can read in the control panel.

Symptoms

  • The browser shows 500 Internal Server Error, HTTP ERROR 500, "This page isn't working", or a page titled 500 — Server error ("The website could not answer this request").
  • Or the page is completely white (blank).
  • Static files (pictures, styles) may still load; only PHP pages fail.

Causes

Most likely first:

  1. A PHP error in the website's code — a broken plugin, theme or update, or a file that did not upload completely.
  2. The database cannot be reached — wrong database name, user or password in the site's configuration file.
  3. The PHP version does not suit the code — old code on a new PHP version, or the other way round.
  4. A PHP limit was reached — memory or execution time.
  5. The code calls a function or extension that is not available — for example exec(), which is turned off for websites.
  6. The disk space or file limit of your account is full — PHP cannot write its cache or session files.

Fix

Read the error first

  1. Log in to the control panel (https://<server>:2083).
  2. Open Errors (section Advanced). It lists the latest PHP errors and warnings of your websites, newest first. The full log is ~/logs/php-errors.log in your home folder.
  3. Reload the broken page once, then click Refresh on the Errors page. The newest line is usually the cause.

You can also open Site Check (section Advanced), choose the website and click Check. Under Latest PHP errors of this site you see only the errors of that website, together with its PHP version and the account's disk state.

Tip: if your host has turned on the AI assistant, click Explain with AI on the Errors page, or Ask the AI assistant what is wrong on Site Check. Fix with the assistant opens a conversation where the assistant looks at your account and proposes changes; it changes nothing until you confirm.

1. A PHP error in the code

The error line names the file and line, for example PHP Fatal error: Uncaught Error: Call to undefined function … in /home/user/public_html/wp-content/plugins/….

  • If it points to a plugin or theme folder, rename that folder in File Manager (section Files) to switch it off, then reload the site.
  • If you just uploaded files, upload them again: a half-uploaded file causes "syntax error, unexpected end of file".
  • If the site broke right after a change, restore the earlier files from Backups (section Advanced).

2. The database cannot be reached

Errors such as Access denied for user, Unknown database or Connection refused mean the site's configuration file does not match a database of your account. See Error establishing a database connection.

3. The PHP version does not suit the code

  1. Open PHP (section Advanced).
  2. Under PHP version, choose another version for that website (or the Account default).
  3. Click Save versions and reload the site.

Old code often fails on PHP 8 with errors like Call to undefined function each() or Unparenthesized a ? b : c. New code fails on old versions with syntax error, unexpected ….

4. A PHP limit was reached

Allowed memory size of … bytes exhausted or Maximum execution time of … seconds exceeded: see PHP memory exhausted and Maximum execution time exceeded.

5. A function or extension is missing

  • exec(), shell_exec(), system(), passthru(), proc_open(), popen() and pcntl_exec() are turned off for websites on this server. Use a plugin setting that does not need them, or run the task as a cron job (cron jobs are not affected).
  • Class "…" not found or Call to undefined function imap_open() (or similar) means a PHP extension is missing. Ask your hosting provider to add it; administrators add optional extensions per PHP version.
  • open_basedir restriction in effect means the code tries to read a file outside your home folder. Websites may only use files in your home folder and the temporary folder.

6. Disk space or file limit full

Open Resource Usage (section Advanced). If Disk space or Files and folders is at its limit, see Disk quota exceeded.

Still not working?

  • No line appears on the Errors page: the error may come from a rule in .htaccess. Rename .htaccess in File Manager to test (changes apply within a minute), then put it back.
  • Run Site Check and send the result to your hosting provider through Support, naming the website and the time you saw the error.
Was this article helpful?

Still stuck?

Ask the AI about your exact situation — it answers from this knowledge base — or contact us.