If you get 500 Internal Server Error in WordPress, you can check this tutorial.

If you're not using WordPress, you can follow these steps that will help you fix this error:

Step 1 - Enable PHP errors display

Enable PHP errors display and clear the browser cache to see the updated version of your website.

Step 2 - Analyse the result

  • Call to undefined function - change your PHP version, try all available versions. Do a code-review.
  • Parse error (Syntax Error) - check the file mentioned in the error to see if you can find any parse of syntax error.
  • Warning Access Denied - double-check database credentials, which you inserted in your configuration file.
  • Fatal error, Failed opening required - check if the file, mentioned in the error, exists. If not, restore a website from backup or reupload it. If yes - fix file and folder permissions.
  • Depreciated - lower your PHP version. You might need to try all versions before you find the one that suits your website.

If nothing changed and you still see the error 500 after enabling PHP errors display, try changing PHP version and enabling display_errors on different versions.

Step 3 - Backup restoration

If nothing from above helped, restore your website from backup, reupload it or consult with developers at Stackoverflow.

You can also contact the Customer Success team for additional help if you are stuck on any step :)

Did this answer your question?